×
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

Find normal vector and type it in txt file using NXOpen .NET

Find normal vector and type it in txt file using NXOpen .NET

Find normal vector and type it in txt file using NXOpen .NET

(OP)
Hi,
I am trying to make a program in C# using NXOpen api in order to be able to select with the mouse any point on a face and extract the coordinates of the normal vector at this point. The aim is to be able to select successively many points and write their coordinates in a txt file.

I can select a point and display the normal vector coordinates at this point using Analysis->Geometric Properties. I would like to use the same type of filter that "Geometric Properties" command uses but i do not know what functions in C# to use nor how to set up the filter.

I have found and tested a program that allows the selection of a sketch. It uses the function "SelectObject" with
"scope=WorkPart",
"SelectionAction=ClearAndEnableSpecific",
"Selection.MaskTriple with type=UF_sketch_type, subtype=0, SolidBodySubtype=0"
Must I use the function SelectObject in order to find the normal vector or some other function?
What arguments must I pass in the function in order to have the same freedom in the selection of the point that I have when using the "Analysis->Geometric Properties" menu command?

Thanks in advance for any help.

Mike
 

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