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.
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
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
RE: NXOpen question