banner



How To Upload A Template For Part Properties In An Existing Part In Solidowkrs

Due to the shortage of comprehensive online information on the mechanics behind the templates for the 3D cad software NX Unigraphics, this is an try to at least increase the number of explanatory efforts available in the marshes of the web by 1.

This is one mode of doing it, with all templates in a custom template binder, parts and drawings separated, and the part backdrop linked to the drawing. The software version is NX vii.0, simply information technology'southward likely that it will work for both earlier and later versions of the program.

Some role properties

A role template needs some custom backdrop if its going to propagate something to the drawing later on (the same goes for an assembly template). Starting with an standard or empty file the properties window tin be accessed through File->Properties and desirable variables are assigned nether the Attributes tab.

1 interesting belongings is MATERIAL, because its value is automatically updated when the part material is inverse, and it also has an alternative way of linking that is explained later. Almost other custom properties however has to be changed manually. A blank space is recommended instead of an empty value, due to difficulties when accessing empty notes in the cartoon later on on.

Salvage the role to the binder intended for holding the new custom templates when all properties are added.

The cartoon template can then be created from some of the default drawing templates, or a blank one. Some of the graphic objects are placed in locked layers of the drawing, and can exist unlocked through Format->Layer Settings past unchecking the Visible only box in forepart of the layers (255 and 256 Siemens default layers for background structure). After the lines and boxes have been moved around and the fiddling with the advent is getting deadening, its time to connect the cartoon to the function properties.

Text input

Either a new note is created or an already existing is modified (double click it), which results in the arrival of yet another window. Under the championship Text Input the text and linkage to other variables is done. By changing the Category (either driblet down list or icons directly under the text box) to Relationships, iii ways of connecting variables are presented. The Insert Office Attributes seems to refer only to properties inside the drawing itself, and Insert Expression is not practiced for this kind of connectedness. The Insert Object Aspect however is more than suitable to the job. When clicking it the prompted for Target Object should be the part already inserted in the drawing, which can be any part (if drawing is empty, just insert a random office) , but the trick is to select the function in the right manner.

Assem. Nav. with dummy part

To do this and avoid selecting uninteresting objects in the drawing, similar frames and display views, the office should be targeted through the Assembly Navigator tab on the left hand side, where the inserted part should appear every bit an instance at the terminate of the small-scale particular hierarchy. Selecting information technology should event in the appearance of a small list of the office backdrop that where previously created.

Afterwards a property has been called a text string volition be generated in the Text Input field. It should say something like <W!29235@Material>, where the five digit number represent a unique id for the chosen object (the part). This number is later automatically replaced when the drawing is treated equally a template, and so when all desired properties have been linked in their notes all over the drawing the only remaining thing to exercise is to salvage the drawing in the newly created custom templates directory.

The fabric variable tin can yet likewise exist accessed through a predefined link, together with a few other that might come up in handy. Other custom properties from the part are non that lucky, and has to be linked in the way described above.

Some common predefined attributes:

<Westward@$SH_PART_NAME>
<Due west@$SH_MASTER_PART_NAME>
<Due west@MATERIAL>
<Due west@$SH_SHEET_SIZE>
<W@$SH_SHEET_NUMBER>
<Westward@$SH_NUMBER_OF_SHEETS>
<Due west@$SH_SHEET_UNITS>
<W@$SH_SHEET_PROJECTION_ANGLE>
<W@$SH_SHEET_SCALE_NUMERATOR>
<West@$SH_SHEET_SCALE_DENOMINATOR>

For the custom templates to appear in Nx the pax-files has to be edited. To start a custom directory with only model and cartoon templates, only the ugs_model_templates.pax and the ugs_drawing_templates.pax files has to exist copied to the custom template folder, and can exist constitute in the C:\Program\UGS\NX 7.0\UGII\templates directory (default installation). In those files a department containing:

<PaletteEntry>…</PaletteEntry>

has to exist modfied. The variables id, name, description, units and filename should be edited to point at the desired template file for each entry. Unwanted entries should be removed, equally long every bit the code at the kickoff and end of the pax-file remains.

To start up Nx with a custom templates binder a batch file (.bat) with the environment variable UGII_TEMPLATE_DIR set to the desired folder. Presuming default installation location the following three lines should be sufficient for a working batch file to commencement NX 7.0 with a custom templates folder.

set UGII_TEMPLATE_DIR=C:\CustomTemplatesFolder
cd C:\Plan\UGS\NX seven.0\UGII
call ugraf.exe

This binder should then be populated by the template files and the respective pax-files (.pax). Examples of both templates and pax-files can be found in the C:\Programme\UGS\NX 7.0\UGII\templates directory.

This should hopefully outcome in a working fix of home made drawing templates fix for creations.

How To Upload A Template For Part Properties In An Existing Part In Solidowkrs,

Source: https://realglitch.com/2011/08/templates-in-the-mysterious-nx/

Posted by: wrightititan79.blogspot.com

0 Response to "How To Upload A Template For Part Properties In An Existing Part In Solidowkrs"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel