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.
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
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
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
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
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.