×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Urgent Help!!!! Dimensions driven by relations

Urgent Help!!!! Dimensions driven by relations

Urgent Help!!!! Dimensions driven by relations

(OP)
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.

RE: Urgent Help!!!! Dimensions driven by relations

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

RE: Urgent Help!!!! Dimensions driven by relations

(OP)
@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.

RE: Urgent Help!!!! Dimensions driven by relations

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.

RE: Urgent Help!!!! Dimensions driven by relations

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources