Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Does anyone know how to reference original and vardim dimensions in a relation?
Specifically I want to write a relation that has the inherited dimension that is in the vardim table to have the opposite sign (negative) as the original dimension. By clicking on the feature or using the find command, I can get the vardim dimension but I can't seem to reference the original dimension.
Also as a side note does anyone know how to see a list of the dimensions that have been added to the vardim table and or how to delete them from the vardim table?
Solved! Go to Solution.
@Chris3 wrote:
Ok, but in your example what I want is:
$d13:IID_112 = -D13
where D13 is the original dimension in the base model. If I just wanted to change it to a fixed number I wouldn't need a relation.
Use the syntax for the relation as follows for the same sample models above it would be:
$d13:IID_112=-1*d13:IID_112
This deals with the gist of what you are attempting to do. Refer to the section titled Accessing Relations and Parameters in the enclosed HTMl file. It is on page 2, scroll to the bottom of page 1 and click the link to get to page 2.
Open the file "e-Profiles, Spring 2002 Design Using Inheritance Features.htm"
I read your article. I don't believe that answers either of my questions. I understand I can write relations. The problem is referencing the original dimension in the base model.
The article also doesn't mention how to remove vardims or how to see a list of them.
Reference part model of a block with a hole location offset from symmetry planes of the block. This is the base (master) model source of the inheritance feature.
Derivative (child) model containing an inheritance feature driven by the above model. Note the relation is used to flip the direction of the horizontal offset (d13) of the hole feature. The variable dim in the inheritance feature is set by this relation and the direction is reversed by assigning a negative value.
Ok, but in your example what I want is:
$d13:IID_112 = -D13
where D13 is the original dimension in the base model. If I just wanted to change it to a fixed number I wouldn't need a relation.
@Chris3 wrote:
Ok, but in your example what I want is:
$d13:IID_112 = -D13
where D13 is the original dimension in the base model. If I just wanted to change it to a fixed number I wouldn't need a relation.
Use the syntax for the relation as follows for the same sample models above it would be:
$d13:IID_112=-1*d13:IID_112
Thanks. I was thinking by being vardim it was going to be a different variable name but this works exactly as you say.
Thanks again.
Here are Creo 7 test models for the example presented for anyone who wants to interrogate them,
To see the list of varied dims edit the definition of the inheritance feature and select the varied items option as seen here.
In the example models this confirms that the varied dim is driven by the relation and is locked in the table.