×
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

Using Attributes in PostBuilder

Using Attributes in PostBuilder

Using Attributes in PostBuilder

(OP)
Hi all,
I want to ask whether there is any variable attributes for drawing out those who are in postbuilder? Can I retrieve attributes of instruments mom_attr_TOOL_ (name) from operations mom_attr_OPER_ (name), folder mom_attr_PROGRAMVIEW_ (name) or from the model mom_attr_PART_ (name). I need to draw or attributes of workpiece datum. Could you tell me some advice?

Thanks to all

RE: Using Attributes in PostBuilder

The attributes assigned to the part and to CAM objects are available when postprocessing.
The easiest way to check which ones are there is to turn on the review tool, and then look at the debug file that it creates.

Mark Rief
NX CAM Customer Success
Siemens PLM Software

RE: Using Attributes in PostBuilder

(OP)
Thanks very much,
I found the variables you need, but I have one problem. The variable that retrieves the attributes of WORKPIECE mom_attr_GEOMVIEW_ (name). so it only works when in generating standing on WORKPIECE. I need to be able to generate each operation separately and drew the attributes that are defined in WORKPIECE. This also works with variables mom_attr_TOOL_ (name). When I enter in the tool attributes, so each operation that uses a given tool and retrieves attributes from it. I need it to generate each operation separately, and each operation should draw attributes of WORKPIECE. I can not with any surgery listing attributes if they are within one specific WORKPIECE same. I put my thoughts screen

Thank you for any advice

RE: Using Attributes in PostBuilder

As you see, attributes are attached to an object, and are only available when that object is processed.

What type of information are you trying to assign to the WORKPIECE?

I think you should look at User Defined Events (UDE). These define parameters for postprocessing, and are available for the operation's parents. For example, add a "Start Event" to the WORKPIECE, and then postprocess an operation under it. You will see the event, as well as mom variables for all the parameters in the event.

Mark Rief
NX CAM Customer Success
Siemens PLM Software

RE: Using Attributes in PostBuilder

(OP)
My idea is that I need when generating each operation in the NC code to get the correct stock size to zero point for HEIDENHAIN (BLK FORM).
I wanted to just define these attributes in dimensions through WORKPIECE and then when generating NCkódu any operation that has been installed by a competent WORKPIECE by values ​​in blk form of attribute. Do you know of any other ways to put the correct values ​​in blk form?

global mom_attr_GEOMVIEW_minX
global mom_attr_GEOMVIEW_minY
global mom_attr_GEOMVIEW_minZ
global mom_attr_GEOMVIEW_maxX
global mom_attr_GEOMVIEW_maxY
global mom_attr_GEOMVIEW_maxZ

MOM_output_literal "BLK FORM 0.1 Z X$mom_attr_GEOMVIEW_minX Y$mom_attr_GEOMVIEW_minY Z$mom_attr_GEOMVIEW_minZ"
MOM_output_literal "BLK FORM 0.2 X$mom_attr_GEOMVIEW_maxX Y$mom_attr_GEOMVIEW_maxY Z$mom_attr_GEOMVIEW_maxZ"

RE: Using Attributes in PostBuilder

If these are just 6 values that the programmer types in, then use a UDE.
You can call it "Heidenhain BLK" and use 6 real numbers.

Mark Rief
NX CAM Customer Success
Siemens PLM Software

RE: Using Attributes in PostBuilder

(OP)
Should not you have an example of how to do it ? With UDE I have no experiences.

RE: Using Attributes in PostBuilder

(OP)
I have successfully managed it in a user-defined events.

Thanks so much for your advice

RE: Using Attributes in PostBuilder

You're Welcome - Glad to see you figured it out :*)

Mark Rief
NX CAM Customer Success
Siemens PLM Software

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