×
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

NXOpen question

NXOpen question

NXOpen question

(OP)
Hi,

I'm using NXOpen to check some assembly clearances.  I'd like to set the default clearance zone (say, 5mm) for the assembly clearance using the UFClear.SetDefaultClearanceZone method.  The problem is, the clearance zone argumenat this method accepts is a tag object.  How do I know what the tag is for a 5mm clearance zone?

Thanks.

RE: NXOpen question

Claforet,

There is an example in "%UGII_BASE_DIR%\ugopen\ufd_clear.c" which may prove helpful. It creates a clearance set (and returns its tag) and then uses that tag  and a tag for an expression with the value for the size of the zone to setting the clearance zone. (and it has many other example operations).

So, the tag for the clearance value in UF_CLEAR_set_default_clear_zone is the one that is used by UF_MODL_create_exp_tag when creating the size expression.

Regards, Joe

RE: NXOpen question

(OP)
Thanks jpetach.  But do you know if there is a function which will take in the value of the expression and output the tag (I want to be able to easily input a value for the clearance zone)?

RE: NXOpen question

(OP)
Never mind.  I found it.

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