×
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

Layer sorting journal or macro?

Layer sorting journal or macro?

Layer sorting journal or macro?

(OP)
For simple moving of features on proper layers is it better to use self made macro or to use journal (and that it is convenient to be shared with colleagues latter)? As I do not know how to make proper journal for this task, where can I ask somebody to help me with that, if journal is correct answer?

RE: Layer sorting journal or macro?

Hi Ivan,

I might be nitpicking but are you wanting to move FEATURES or any GEOMETRY? Two different things, in my opinion, but probably worth noting prior to devoting time to any journal authoring.

Tim Flater
NX Designer
NX 9.0.3.4 Win7 Pro x64 SP1
Intel Xeon 2.53 GHz 6GB RAM
NVIDIA Quadro 4000 2GB

RE: Layer sorting journal or macro?

Xwheelguy is correct in that the geometry gets moved to layers, not the actual features. NX blurs the lines a bit by reporting the "layer" of each feature in the part navigator; what it is really reporting is the layer that the feature geometry is on.

Anyway, I'd use a journal for this task, but then I'm a bit biased...

If you search this site for "layer journal" or something along those lines, I'm sure you will get several hits. It might be a good starting point for your own code.

www.nxjournaling.com

RE: Layer sorting journal or macro?

(OP)
Sorry for confusion, I really do not want my blends to be on different layer than my solids :) So you are right I want different geometry on correct layers.
I made macro for it and journal for it, and I see journal works little more like what I want. I had to make part with all possible geometry in it and to move them with selection filtering to correct layers. I just hope that nobody will make some peace of geometry that I forgot and then complain about my journal :) But if that happened, can I make new journal just for that geometry and copy paste code to existing journal (I think it is ok, if I do not copy everything but just part of code that make selection and move it...)?

RE: Layer sorting journal or macro?

A "journal" is just a program, usually written in the VB language. NX and the VB compiler don't care how you wrote the program text. You can type it, use journsl recording, or copy/paste text from elsewhere. It doesn't matter -- in the end it's all just text.

Your program should have a "branch" where it does something useful with types of objects that don't get special handling elsewhere. That way, your code will still work even if it encounters object types that you didn't think about.

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