cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Inherited models with vardim dimensions

Chris3
20-Turquoise

Inherited models with vardim dimensions

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.

Capture.JPG

 

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?

 

1 ACCEPTED SOLUTION

Accepted Solutions
tbraxton
21-Topaz II
(To:Chris3)


@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

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

View solution in original post

8 REPLIES 8
tbraxton
21-Topaz II
(To:Chris3)

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"

 

 

 

 

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Chris3
20-Turquoise
(To:tbraxton)

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.

tbraxton
21-Topaz II
(To:Chris3)

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. 

tbraxton_0-1655898227452.png

 

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.

tbraxton_1-1655898324380.png

 

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Chris3
20-Turquoise
(To:tbraxton)

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.

tbraxton
21-Topaz II
(To:Chris3)


@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

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Chris3
20-Turquoise
(To:tbraxton)

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.

tbraxton
21-Topaz II
(To:Chris3)

Here are Creo 7 test models for the example presented for anyone who wants to interrogate them,

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
tbraxton
21-Topaz II
(To:Chris3)

To see the list of varied dims edit the definition of the inheritance feature and select the varied items option as seen here.

tbraxton_2-1655898766475.png

In the example models this confirms that the varied dim is driven by the relation and is locked in the table.

tbraxton_3-1655898820894.png

 

 

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Top Tags