×
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

Journal that lists x,y,z coordnates of points as well as component name and reference designator.

Journal that lists x,y,z coordnates of points as well as component name and reference designator.

Journal that lists x,y,z coordnates of points as well as component name and reference designator.

(OP)
thread561-314774: Extract XYZ points from a Journal file.

I read the thread referenced above and it includes a journal that almost does exactly what I need. It generates a comma delimited list of point attribute 'NM' followed by the x, y, z coordinates. I am wondering how to modify it so that instead of the point attribute it will return the owning component filename as well as a component attribute.

The reason I am trying to do this is I have a number of assemblies with the same dozen or so components used in hundreds of places. To build these assemblies in reality we have a robot that basically installs the component based on coordinates given to it. It's a similar process to a pick and place machine used to build circuit cards. We have the components as individual parts each with a reference set that includes a point the machine will use. Also in the assembly each component has an attribute called 'REF' for a reference designator for each component, such as A1, A2, B1, ETC.

So I would like to have a journal generate of list of the points with comma delimited values shown below:

<component file name>,<Component REF Attribute>,<x>,<y>,<z>

for example I could get the journal to produce a list like this:

part1.prt,A1,0.01,0.02,0.00
part1.prt,A2,0.04,0.12,0.10
part1.prt,A3,-0.01,0.62,0.00
part2.prt,C4,-0.81,0.62,0.00
part2.prt,C5,0.91,0.062,0.1100
...

In the thread referenced at the top that journal Cowski created works except its only looking for an attribute associated with the point, not the point's owning object.

RE: Journal that lists x,y,z coordnates of points as well as component name and reference designator.

If you have a reference to the point object, you can get the owning component with:

CODE

thePoint.OwningComponent 

If you need the part that contains the point, use:

CODE

thePoint.Prototype.OwningPart 

www.nxjournaling.com

RE: Journal that lists x,y,z coordnates of points as well as component name and reference designator.

Did my post above help, or do you need more?

What version of NX are you using?

www.nxjournaling.com

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