×
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

Negitive Parameters

Negitive Parameters

Negitive Parameters

(OP)
I need to create a parameter that is referanced from an offset dimension of a coordinate system.  I use a relation to create the parameter.

Relation

X_VALUE=d3

Parameter

X_VALUE  Real Number 2.000 <----Should be -2.000

It works but only untill I regenerate twice(once to regenerate the parameter, and once for the assembly).  Is there anything I can do to keep this dimension negitive??  Any help would be greatly appreciated.  Thanks

RE: Negitive Parameters

Use
$X_VALUE = Value

to retain the negative sign.

Usually the relations editor or modify dimension dialog box will give you a tip like use $d## for negative dims or something similar.

Michael

RE: Negitive Parameters

guess this is a case where the ptc.com forum came thru first

Wis..... Brrrr  winky smile

RE: Negitive Parameters

(OP)
I tried what was suggested, but I end up with the same result. Is there anything else that I could be missing that would fix my problem?

RE: Negitive Parameters

off the top of my head a if then check comes to mind something along the lines  of;

if d3 > 0 then d3=d3*-1

if d3< 0 then d3 = d3

now the syntax isn't proe-ish more vb like

so you'll need to dig around to get the end if's right and the == and so forth.... but I do think that would keep it negitive...

RE: Negitive Parameters

I think that will work as you are referencing a csys... not a datum.

RE: Negitive Parameters

there is that order process

http://www.synthx.com/tom/sy_tip_0004.htm

kind of a side note but it does bring up the regen 2 times deal.....

you might throw in a skel. to get around it tho....

is the neg. csys ref in part level or assy.??

RE: Negitive Parameters

(OP)
The negitive dimesion is on the assy level.  Its a csys offset from another csys.

RE: Negitive Parameters

from knowledge base... which I'm guessing you have already been there;

The solution is to add a dollar sign ($) in front of the dimension parameter when entering the relation. In this example, the relation would be edited to now read:


$d10 = d1 - d2
Now, as shown in Figure 2, the dimension will update properly. Please note that the configuration option show_dim_sign is set to yes to allow the dimension sign to be displayed.



again the $ sign

http://www.synthx.com/tom/sy_tip_0305.htm


I'm not seeing a val function for proe, in VB it takes the value of a string which you could keep neg. that way. as it would be a literal string until you converted ...sorry


RE: Negitive Parameters

could it be;

 configuration option show_dim_sign is set to yes to allow the dimension sign to be displayed


no doubt your PIA level is high with this... but might be worth a shot

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