top_init_prt
New Part
What
Creates a new part. If it is launched from the CAD menu icon the part will be created with TOP as Parent, otherwise with the selected tree part as a Parent if called from the Context Menu.
It can be used both before starting the new part graphically, and after, by selecting the graphic elements that must make up the part.
Depending on the configuration of the AutoAttr.ini file, a part attribute can be set with the name entered by the user.
For example, you can name the new part with a drawing code so that the CODE attribute of the part is automatically filled in.
Why
This command is used to directly create a part at level one of the parts tree.
How
Once the command is launched, the following dialogue is shown to the user
Since the command can be called from different contexts, the title bar shows in square brackets the name of the parent of the part we are creating.
An edit box allows us to enter the name of the part, the dialog remembers the last entries and proposes the last part name entered as default. From a drop-down menu it is possible to choose between the last part names entered.
The icon to the right of the edit box allows you to take the name with which to baptize the part directly from the drawing graphics, by selecting a text or an attribute.
Please note that the part name cannot be longer than 256 characters (layer name character limit).
Below this, a drop-down menu allows you to optionally assign a classifcation to the part you are creating.
The operation is made easier by the presence of some commands in the dialogue, from left to right we have:
- Make part non-editable : once the part is defined, it will no longer be possible to draw or delete geometries from within it. (see "non-editable parts" section)
- Edit attributes : Once the part is created, the user will be shown the dialog to fill in its attributes.
- Turn off all parts : during the "Select entities" phase, turns off all the geometries already assigned to a part (useful if you are creating the parts on a drawing not created with TOP.
- Isolate current part : during "Select entities" it turns off all geometries except those aggregated to the current part.
- Isolate current part and children : during "Select entities" phase, it turns off all geometries except those aggregated to the current part and children.
- Turn on all parts : When "Select entities" is selected, it turns on all the geometries in the drawing.
- Select Entities : The dialog is closed and the user is given the option to select the geometries to insert into this part. A summary will be shown at the bottom of the dialog.
- Aggregate Part : The dialog closes and the user is given the option to select parts that they want to be children of the part they are creating. A summary will be shown at the bottom of the dialog.
- Create Parts for all identical selections (BricsCAD platform only): Available when making a selection of geometries to aggregate. When selected, searches the drawing for all geometries identical to the selected ones to automatically create all parts.
- Placement Point : Allows you to select the placement point for the part.
The newly created part becomes the new current part.