UG Open
UG Open
(OP)
Hi all,
I would like to imnprove work in drafting and wants to create program to hide components in view. Typical problem in my job is when I want to add new component to assy this component appear on all views. :(
I wrote code in C, but I have problem with component selection. I use UF_UI_select_with_class_dialog function with filter for componets but I cant select components in drafting view or ANT. I have to switch to Format==>Dispaly sheet and then I can select components in 3D.
How to select components in drafting? Or any sugestions?
UF_UI_select_with_class_dialog(cue, title, UF_UI_SEL_SCOPE_ANY_IN_ASSEMBLY, NULL, NULL, &response, &count, &objects);
Regards
Siwy
I would like to imnprove work in drafting and wants to create program to hide components in view. Typical problem in my job is when I want to add new component to assy this component appear on all views. :(
I wrote code in C, but I have problem with component selection. I use UF_UI_select_with_class_dialog function with filter for componets but I cant select components in drafting view or ANT. I have to switch to Format==>Dispaly sheet and then I can select components in 3D.
How to select components in drafting? Or any sugestions?
UF_UI_select_with_class_dialog(cue, title, UF_UI_SEL_SCOPE_ANY_IN_ASSEMBLY, NULL, NULL, &response, &count, &objects);
Regards
Siwy





RE: UG Open
before you invest too much time and effort have a look at NX-5 because I think I have read here that there are new functions for managing hiding components in drawing views.
Best Regards
Hudson
RE: UG Open
Some departments wants to have GA and details on one file, and in this case we have to waste a lot of time if we change something in assy structure.
I divide process to 2 stages, first stage is almost finish. I have code which works, but I have to select componets only on 3D. Next stage will be the same code plus UI Styler.
RE: UG Open
We occasionally add a reference set to a component so that a flat pattern is visible for the drawing which would in all other assembly contexts be hidden.
Now you could standardize and automate these processes but they're generally fairly easy to do even without creating a program to manage it for you. If it was me I might create a macro but nothing much more, since I wouldn't see the benefit of putting too much time into it unless you use it so very frequently that you would get some savings from doing so.
Best Regards
Hudson
RE: UG Open
RE: UG Open
GRIP is still supported but hasn't been developed for quite a few versions. The cutoff point was about the same time when assemblies were introduced so naturally anything to do with them can't be done using grip.
Best Regards
Hudson
RE: UG Open
Propably (99%)UGS set up system for RR.
Is this under teamcenter?.
Yes it is under TcEng but I work in native.
Best Regards
Siwy