Block Dialog

This dialog allows editing of a block layout. You can define the styles, field, table, and other settings.

Block Information

ID

A string that identifies the block. This string must be unique for all blocks defined in all the data files loaded in the NX session.

Display Text

The string the will be shown in the Edit/Insert Format Block dialogs.

Category

The category the block will appear in on the Insert Format Block dialog.

Units

The drawng units the block is for.

Geometry Layer

The layer to place the block's tabular note on.

Block Fields

The fields in the block.

Field Operations
Add Field Adds a new field and shows the edit field dialog
Edit Field Allows editing of the selected field
Copy Field Same as Add Field except the default values is the currently selected field
Delete Field Removes the selected field

Block Styles

The block styles that can be used for this block.

Style Operations
Add Style Adds a new style and shows the edit style dialog
Edit Style Allows editing of the selected style
Copy Style Same as Add Style except the default values is the currently selected style
Delete Style Removes the selected style
Make Default Style Sets the selected style as the default style to use. An * will precede the default style in the list.

Editing Settings

Editing Method
Basic Regular method of using a UI/Styler dialog and using the field ID to hook to a control of the same name

Basic Settings
Dialog Filename The UI/Styler dialog that is to be used for editing the block contents.

Delegate Delegate the editing of the block to an external library. The editing dialog and updating the block is the responsibility of the external code.

Delegate Settings
Library The library where the functions reside. This library should be placed in an application directory.
Set Style The function(with C signature) that is called when the style is being set.
Edit Fields The function(with C signature) that is called when the block fields are being edited.

Arguments to the delegate functions are: (tag_t drawing, const char* block_id).

Miscellanous Settings

Required use only

Indicate that the block is only to be used as a required block. That means that the block will never appear in the Insert Format Block dialog.

Flip Block

Indicate that the block should be rotated 180 degrees. Useful for roll sizes.

SBF Location

Indicate where the block's SBF file is located. It can be in the format_defs or util directory of a DSL configuration.

SBF File

The SBF file to use when editing the block. If you plan to utilize user defined symbols in the block, then all of them must be in this SBF file. If no SBF file is defined, the default SBF file will be used.

Block Angle

Angle of template when it is placed on drawing. The angle is from the bottom left of template geometry.

Table Settings

These settings are only relevent if the block has a table such as a revision block.

Adjust Max Height Using Margin

This value specifies the margin from the bottom of the drawing area that the table will go before overflowing and creating a new table section. A -1.0 value indicates to use the max height setting in the template.

Row Types

The row types that can be used when adding a entry to a table. Normally, only one is defined if the block contains a table.

Symbol Types

The various symbols that can be placed on the drawing and associated to an entry in the table.

Allow override of symbol contents

Turn this option on to allow the user the option to manually entry a symbol's content value. A button called OVERRIDE_SYMBOL must be in the block's dialog if this option is selected.

Border Setting at Row Type Transition

If the table has multiple row types, you can specifiy what border to use between entries that transition from one row type to another.

Rows Created in Template

Select this option if the tabular note template already contains the entry rows. No rows will be added when entries are added to the block. The maximum entries allowed on the block will be the number of rows in the template.

Repeat Settings

Settings for blocks that duplicate themselves periodically on the drawing such as a roll size's frame block. A block will repeating until the end of the drawing's drawing area is reached.

Note: A repeating block cannot contain a table.

Is A Repeating Block

Specifies that the block is a repeating block.

Spacing between repeats

Specifies the distance between duplicates of the block. This can be a expression formula.

Column For Row Number

The tablular note column that you would like the row number to appear. Useful for a frame count or number if repeats. Use -1 if this value will not be used.