How to read part attributes in c++
How to read part attributes in c++
(OP)
I have created a part attribute of type real(number) in NX8. I want to read that details using c++ code. If anyone knows help me regarding this. advance thank you.
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
How to read part attributes in c++
|
RE: How to read part attributes in c++
// Get the session
NXOpen::Session * pTheSession = Session::GetSession();
// Get the workpart (assuming this is your newly created)
NXOpen::Part* pWorkpart = pTheSession->Parts()->Work();
// Now you can inquire the attributes with the memberfunctions of NXObject