×
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

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

RE: UG Open

What version of NX are you using?

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

(OP)
I'm runnig on NX2. Main cutomer had to change to NX4 before end of 2007 but sof far we are workin on NX2. :(

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

Well for what it is worth the way we tend to hide components in assembly drawing is to simply move them to another layer and set that layer to not-visible in view.

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

(OP)
We cant free move components to any layers. We have to work according to PLM procedures (eg. for drawing we can only use entire part ref set, components have to be on first layer etc). I wrote some GRIP codes to mannage this (turn on/off some layers on views, set propoer ref set etc) but GRIP cant hide componetns on drawings.

RE: UG Open

Sounds like somebody went too far with the system settings. Is this under teamcenter? I'm sorry to hear that they've stymied one of the best available methods for you. I would find it extremely frustrating. Now just on the off chance that you're working under the GM system then I'd say you may be wrong about those limitations, and I may be able to help further if you share that with me.

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

(OP)
Sounds like somebody went too far with the system settings.
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

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