Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Attributes in PostBuilder

Status
Not open for further replies.

pajalin

Automotive
May 24, 2014
18
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
 
Replies continue below

Recommended for you

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
 
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
 
 http://files.engineering.com/getfile.aspx?folder=28be72fd-77e4-4c57-b9dc-c4858c741107&file=attribute.PNG
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
 
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"
 
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
 
Should not you have an example of how to do it ? With UDE I have no experiences.
 
I have successfully managed it in a user-defined events.

Thanks so much for your advice
 
You're Welcome - Glad to see you figured it out :*)

Mark Rief
NX CAM Customer Success
Siemens PLM Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor