Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Urgent Help!!!! Dimensions driven by relations

Status
Not open for further replies.

RRoosshhaann

Mechanical
Apr 10, 2017
10
Hey Guys I have come up with a new task of Dimensions driven by parameters.
Im getting irritated with one relation. I have a C channel whose length is driven by a value CW. Example if CW = 1000 then length is 1000-30. Now I started like this.
Step 1: Edit Program and add CW in between Input and END Input
Step 2: Edit Relations and add following
D0=CW-30
Now I get an error saying negative value cannot be accepted.
So I tried this
$D0=CW-30
Now it says Invalid left side assignment. Please help me with this stuff its very urgent.
 
Replies continue below

Recommended for you

Test the logic in relations before putting the input in Pro/Program.

In the model, select the length of the channel, then properties and rename the d# to Length
Create a parameter CW as a real or integer and set it to 1000
In the relations editor, Length = CW-30
If this works, then add the Input CW to Pro/Program or just let the length be driven by the parameter

If you need to make a lot of different lengths, create a family table with CW as a column.,





"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
@looslib
Renaming the dimension D# to length and using length in the relations is same as directly using D# is same.
I tried renaming to length but I still get the error that " Use $ preceding to the left side parameter".
If I use $ it gives me an error again.
 
Further to what @looslib mentioned about testing, I would do the following

Create a parameter CW as real
Create a parameter LENGTH as real
In the relations editor, LENGTH = CW-30
Test the relations work with different lengths of CW
In the relations editor, add the following

IF LENGTH > 0
D# = LENGTH
ENDIF

If this doesn't work, add $ before D#
If that gives an error, I have no idea what the root cause would be.
 
Is this dimension for an angle?
Try the configuration option

show_dim_sign set to YES.

Other than that post a picture of the item with the dimension symbol (use Switch Dimension) clearly showing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor