nanoCAD Platform Help

MECHWIZARD

MechWizard implements the following features:

      ·    Creating a custom library of parts.

      ·    Description of rules of conduct parts in the assembly.

      ·    Assignment of output parameters to specify details.

MechWizard supports two types of iParts: static parts and parts with internal intelligence.

Static parts are based on values in the table. When they are inserted the following sequence of actions:

    1.    Select the item.

    2.    Indicate the denomination of the value table.

    3.    Apply the spare parts drawing.

The dynamic parts (with internal intelligence) in addition to the geometrical parameters, include pre-assembly constraints. Working with such objects looks:

    1.    Select an object-dependent part.

    2.    Bring the item to the mating piece.

Winning such an approach: Automatically detects the denomination detail, the insertion point, the direction of drawing, assembly constraints.

ScriptMaster

CAD drafting MECHWIZARD 0Main menu: Mechanical - Standard parts - MechWizard - CAD software MECHWIZARD 1ScriptMaster.

CAD drawing MECHWIZARD 2Ribbon: MechWizard - MechWizard - CAD drafting MECHWIZARD 3ScriptMaster.

CAD software MECHWIZARD 4Toolbar: MechWizard - CAD drawing MECHWIZARD 5ScriptMaster.

CAD drafting MECHWIZARD 6Library: Context menu command  "Open with ScriptMaster" on any element library.

CAD software MECHWIZARD 7Command line: MCSMASTER.

The command opens "ScriptMaster" for creating and editing a database object.

Dialog

The title of the current element is indicated in the headers of the "ScriptMaster" dialog. An "*" signifies that unsaved changes were made to the item.

CAD drawing MECHWIZARD 8

1. Main menu. Contains all commands for creating and editing objects and scripts. Contains sections:

      ·    Object

      ·    Edit

      ·    Script

      ·    Master

2. Toolbar. Contains basic commands for creating and editing objects.

      ·    CAD drafting MECHWIZARD 9"New object". The command opens a dialog for creating a new base element.

      ·    CAD software MECHWIZARD 10"Open". The command is designed to select another element from the base.

      ·    CAD drawing MECHWIZARD 11"Save". The command saves changes to the current object.

      ·    CAD drafting MECHWIZARD 12"Undo". The command cancels the previous action.

      ·    CAD software MECHWIZARD 13"Redo". The command redo the last undone action.

3. Object tree. In the object tree, you can navigate through the object properties and manage them through the context menu.

4. Workspace. The script and table, as well as other properties of the object are edited in the work area.

5. Notification area. The results of the script check and search / replacement are displayed in the notification area.

6. Status bar. The status bar displays the current state of work with the object:

      ·    Setting the path to the current database;

      ·    Current cursor position;

      ·    Edit state - insert or replace;

      ·    Script sign for reading or editing.

The menu bar

Object

Menu item object allows it to work with database objects in nanoCAD Mechanica 23:

CAD drawing MECHWIZARD 14

Object - creates a new element base (By pressing keys Ctrl+N or clicking on the icon CAD drafting MECHWIZARD 15 Create on the toolbar).

After issuing this command, a dialog box appears to New object

CAD software MECHWIZARD 16

To create a new object, you must specify:

Folder in which to save the new object

Name (will be displayed in the browser)

Comment (will be displayed in the tooltip)

 

Select a way to create a new object

CAD drawing MECHWIZARD 17

Create an empty object - creates a table and designs without having one script selected from the template.

Default template - empty script.

 

Create as copy of prototype - creates an object by copying the entire prototype object (along with the script, tables, performances and three-dimensional models.

CAD drafting MECHWIZARD 18

Use the button CAD software MECHWIZARD 19 to select an object to create a prototype object.

 

Open - Open an existing part (keyboard shortcut Ctrl+O or icon CAD drawing MECHWIZARD 20Open  on the toolbar).

After selecting the command, a dialog box appears Select the details allowing you to select or find the item in the current database inConstruction Site 4.

CAD drafting MECHWIZARD 21

Save - save changes to the current member base (keyboard shortcut Ctrl+S or icon CAD software MECHWIZARD 22 Save on the toolbar).

Set object preview - allows you to set as a preview for the object in the browser database objects nanoCAD.

Exit  - close Master objects

In paragraph object available list of recently used items.

Editing

Menu item Edit allows you to work with the current database nanoCAD Mechanica 23:

CAD drawing MECHWIZARD 23

Undo - cancel the last action (promptness pressing keys Ctrl+Z or clicking on the icon CAD drafting MECHWIZARD 24Undo on the toolbar).

Redo - undo the last action (promptness pressing keys Ctrl+Y or clicking on the icon CAD software MECHWIZARD 25Repeat on the toolbar).

Find - search for a given string on the script of the current element (promptness keys Ctrl+F).

Calling this command opens a dialog box Find

CAD drawing MECHWIZARD 26

Looking provided an opportunity to take into account only whole words and case search string using by appropriate switches.

Also have the opportunity to select the search direction.

Go to the next matched string by pressing  find Next.

After you click Cancel , you return to the previous menu.

Speas dropdown input field allows you to select the last used values.

Replace - search for a given string with a new one.

After calling this command, a dialog box appears Replace

CAD drafting MECHWIZARD 27

When replacing provides an opportunity to consider only whole words and case search string using by appropriate switches. It is also possible to carry out replacement in the selected area or throughout the text.

Daylight without replacing the matched string to the next by pressing find Next.

When you click Replace matched string is replaced by a new one at the current position.

After you click Replace All all found strings will be replaced.

Button to return to the previous menu, press Cancel.

Go to - command allows you to go to a specific line (promptness keys Ctrl+G).

CAD software MECHWIZARD 28

Find and replace on the database - allows you to search and replace strings in the base.

CAD drawing MECHWIZARD 29

There are opportunities to search the entire database or in a folder, the search is case sensitive, whole words, as well as multi-line test, the search for the script, table, table name resources and facilities (Use advanced options )

Script

Menu  script allows you to work with the current script object database nanoCAD Mechanica 23:

CAD drafting MECHWIZARD 30

Get script from other object - command allows you to copy the script from another object.

Set script to all objects in selected folder - script command sets the current object to all objects in the selected folder database elements nanoCAD Mechanica 23.

Show script of other object - you can view the script of another object without changing it.

Insert script template - command allows you to take in the script as the current object previously saved template.

Save script as template - allows you to save the current script object as a template for future use.

Show localized script - command allows you to view localized script based on the data of the resource table.

Script Master

In general, writing the script for the majority of standard parts is not required. Just open the script details, like on purpose, and copy it. However, it must be remembered that the parameters in the model (figure) must strictly match the prototype.

nanoCAD Mechanica 23 is a convenient mechanism for self-compilation step algorithms that control the behavior of the items in the time of insertion and editing object - Master browser.

Call Master browser  via the menu item Master / Script wizard



      ·    General properties

      ·    Parameter Properties

      ·    Calculation parameter

      ·    Drawing Conditions

      ·    working planes

      ·    show / Hide parameters

      ·    Display conditions

      ·    Check boxes

      ·    Current script

At any step of the script wizard may move buttons << Back and Next >> .

Button Cancel exits the wizard.

Basic properties

CAD software MECHWIZARD 31

Object description  (Property Description). This parameter is optional, it describes the common name of the object. For example, nut, bolt, etc.

Object type (type). This parameter is required, it is advisable to fill it in Latin characters. Serves to identify the object as belonging to a group. For example, StdArborParts - standard parts shaft, StdJointParts - fastenings.

Object Name (Name of facility). This parameter is required, it is advisable to fill it in Latin characters. Defines elements within the group, given strTheType. For example, a screw bolt - Screw, for nuts - Nut, for washers - Washer etc.

Object subtype (subtype). Additional parameter, it is desirable to fill it in Latin characters. Defines a specific subtype of GOST. For example, if the name of the object - Nut (Nut), then simple nuts subtype is Simple, from crown - Castle etc.

These parameters set by the user, based on its project object interaction, and can be arbitrary. Hard list is not, and they can be changed at any time. They will only be used in scripts to automatically establish dependencies (details - in the description of scripts).

Specification. Description line items for transmission specification.

Parameter Properties

CAD drawing MECHWIZARD 32

Not used

All parameters specified in the table, are automatically available for operations over them from the program during the insert or edit the object. If a variable is used only in the process of creating a graphic image, then use it in the script is not necessary.

Protected (used internally)

If necessary, display the parameter dialog during insertion.

Public (visible)

Used to transfer parameters during insertion and editing of other objects.

Changeable (available for editing)

Available to change other objects in the editing process. Variable of the property, will pick up from the table and the necessary parameters on the basis of the obtained values to reconstruct the details of the model.

Calculation of parameters

CAD drafting MECHWIZARD 33

Set parameter in the dialogue

Variable for which this flag is set to be available for editing of dialogue insert details.

Dynamic selection

Processed when the position of the cursor relative to the insertion point of the object according to the formulas in the designated parameter value in the range of "minimum value" - "Maximum".

Calculate after dialouge is shown using dynamic selection by expression

Calculated after the call dialogue and visual selection as expression in the Parameter Value.

Dont calculate parameter

Defines the minimum value. Can be expressed as a function of other parameters. Determination of the value of the parameter as a function of the cursor or other parameters. Available functions may be called from the context menu or manually entered into the appropriate input box.

Minimum value

Defines the minimum value. Can be expressed as a function of other parameters.

CAD software MECHWIZARD 34

Context menu is available in the input field.

Maximum

Defines the maximum value. Can be expressed as a function of other parameters. Context menu is available in the input field.

Conditions rendering

Add a line in the drawing model, rendering which we will operate from the dialog during the insertion of parts (for example, they will be highlighted Magenta). Pressing the button CAD drawing MECHWIZARD 35 will open a dialog box object properties and assign as a condition of their appearance in the drawing text parameter. In this case SLICE.

CAD drafting MECHWIZARD 36

Size "S", necessary for proper recognition, automatically appears in the parameter list, but you must enter a parameter draw.

CAD software MECHWIZARD 37

Fragment dialog box Properties settings

CAD drawing MECHWIZARD 38

In the name field switch is set "Cut". The parameter rendering paste from the context menu variable "SLICE".

After the completion of the script retain the item and exit the editor. Of the database tree select our item and insert it into the model. In the editing dialog parts we have a switch incision through which we can control the rendering of relevant lines.

CAD drafting MECHWIZARD 39

Working planes

Workplanes determine the position of the items in the time of insertion and editing. Determination of working planes dialog box to the work plane.

CAD software MECHWIZARD 40

CAD drawing MECHWIZARD 41CAD drafting MECHWIZARD 42Creating a plane parallel to the plane OYZ

CAD software MECHWIZARD 43CAD drawing MECHWIZARD 44Creating a plane parallel to the plane OXZ

CAD drafting MECHWIZARD 45CAD software MECHWIZARD 46Creating a plane parallel to the plane OXY

Show / Hide parameters

In this step, you must identify the available options in the menu items. The selection is made by setting a checkmark APPLICABLE parameter

CAD drawing MECHWIZARD 47

Display conditions

In this step, display conditions defined species . The selection is made by setting a checkmark APPLICABLE parameter and determining the conditions of his hiding

CAD drafting MECHWIZARD 48

Check boxes

In this step, there are the following settings:

      ·    Show dialogue before object is inserted

      ·    Show object while inserting

      ·    Regenerate object suppression contour after inserting

CAD software MECHWIZARD 49

Current script

In this step, you can view and edit the resulting script. Clicking on the button Save and OK to apply the current script items

CAD drawing MECHWIZARD 50

This is the final step.

Master dependencies

Creating dependencies for interaction with other items going online.

Call Master dependencies via menu Master / Master Dependency .

Further, following the screen prompts on the command line, place the drawing model details and select the items with which it must interact.

After placing the parts in the drawing, a dialog box Managing Dependencies. Functionally, the dialog box is divided into two parts bookmarks. Bookmark this Parametric dependence  and Assembly constraints.

CAD drafting MECHWIZARD 51

Definition of parametric relationships occurs directly in the dialog box. It's enough to double-click on the option to specify the details of the child (it will automatically appear in the left-hand side) and bring it into line with the parameter of the parent object. In the right-hand side can be used mathematical expressions.

CAD software MECHWIZARD 52

Types of assembly and parametric relationships are defined in the dialog box. Parameters can serve as table settings objects and definable expression.

CAD drawing MECHWIZARD 53Axial and surface alignment

CAD drafting MECHWIZARD 54Surface alignment

CAD software MECHWIZARD 55Axial alignment

CAD drawing MECHWIZARD 56Direction

CAD drafting MECHWIZARD 57Sets the direction for the dependencies (Counter directional / Co-directional)

Once all the dependencies are installed, you can click OK, successively pass through the dialog boxes and set the options you want.

Eventually, an automatically generated string specifications necessary to automatically detect dependencies.

CAD software MECHWIZARD 58

Master of string of specification

Formation data for transmission to the specification can be done in automatic and semi-automatic modes. Some information can be inserted on the basis of the table of parameters associated with the geometry of the figure, the part can be entered manually in the editing dialog standard parts.

Call Master BOM line via menu Master / Master BOM line .

CAD drawing MECHWIZARD 59

In the drop-down list are tabulated parameters involved in drawing details.

CAD drafting MECHWIZARD 60

For a complete description of information on standard parts must be able to adjust or supplement information. For example, cover screws or the class thread. In this case, just add a "#".

The editor position will be able to insert text between the two lattices, and then save.

CAD software MECHWIZARD 61

Object tree

CAD drawing MECHWIZARD 62

Tree object contains the following sections:

      ·    Description ;

      ·    Parameters;

      ·    Methods;

      ·    Function;

      ·    Forms;

      ·    Resources table;

      ·    Script .

If the open file has been modified, its wood properties can be irrelevant. To actualize the properties tree to choose the context menu to update the object tree.

Description

When you click on the section Description of the workspace displays the following properties.

CAD drafting MECHWIZARD 63

Property name  - the name of the object to be displayed in the browser database.

Comment  is displayed in the tooltip to the object.

Standard product allows you to set the standard (GOST, DIN, ISO, etc.).

Part list entry, is usually not be filled in the properties, and the variable defined in a script.

You can also put a tick:

Object have 3D view.

Cutting in detail

Object for 3D only.

In addition, the properties of the unique identifier for the object.

Parameters

Section Parameters contains three subsections:

      ·    public,

      ·    protected,

      ·    tabular.

CAD software MECHWIZARD 64

The public section Upcoming shows a table of open (public) parameters along with their comments.

CAD drawing MECHWIZARD 65

Furthermore, the parameters are displayed in a tree branch.

CAD drafting MECHWIZARD 66

Section Protected contains a list of protected (protected) parameters, which are also displayed in a table and drop-down list of branches in the tree object.

CAD software MECHWIZARD 67

Section Table includes a list of tables detail

CAD drawing MECHWIZARD 68

Table and column of the table in the current workspace synchronized depending on the position of the cursor in the object tree. Tables in the object may be a few, while the identification is made on behalf of the table. Popup menu when the cursor position on the table includes the following tools:

CAD drafting MECHWIZARD 69

When you select table name as a prefix to the parameters  of an appeal to the names of variables are prefixed with the table name. For example,Table0.dr.

You can add / delete rows from a table and add a parameter to a table.

There is also exported to Excel, text format and import from them.

Whenever the context menu on a separate parameter tables are available options remove a single parameter and set the type (Valid (Real), String (String) or a (Integer).

CAD software MECHWIZARD 70

To rename a table parameter, select it and click on his name left mouse button, or press F2. If the parameter name has changed, it will automatically run search and replace in the script to a new name parameter correctly processed by the script.

Methods

Section Methods includes event handlers and custom functions.

CAD drawing MECHWIZARD 71

When selecting a specific function in the script is its description (synchronized current line).

Red light CAD drafting MECHWIZARD 72 icon in the function indicates the presence of a function in the script is present, CAD software MECHWIZARD 73 white - about lack. When you double clicking on the corresponding function in the script created by its pattern.

Implementation

Section Versions list includes 2D and 3D versions

When selecting the root partition versions are all the performance, and the choice of a particular (for example, Version 1) - displays the filtered views of this execution. To create a two-dimensional view of a new version should be specified in the context menu Add performance - automatically create 2D views.

To create this kind of performance you need to select the required performance and the shortcut menu - Add 2D view.

      ·    2D view - parametric graphic nanoCAD

      ·    3D view of the Construction Site 23 - script to create a solid model (opening section of the shaft, etc.)

Deleted when you delete all kinds of performance of this version.

To set the parameters of the form, select it, and the right side of the workspace to set view orientation (Front, Left, Top , etc.) and the type of form ( cut, cut C, C size etc.).

CAD drawing MECHWIZARD 74

In the context menu, you can select types of operations on this performance.

These options add \ remove kinds of current version:

CAD drafting MECHWIZARD 75

The following context menu options are designed to work with the selected view of the current execution.

CAD software MECHWIZARD 76

Recognize view  - parametric recognition graphics nanoCAD.

Nonparametric recognize view - simple nonparametric reference charts, graphics taken from the object as it is.

Edit view as text  - description of species opens in a text editor.

Set preview from objects - objects selection nanoCAD to create a preview of this species.

Import preview picture from file - creating thumbs on the basis of the previously saved file.

Export preview picture to file - Saves the preview in a file.

Form editor

Form Editor

Database objects nanoCAD Mechanica23 supports the use of custom dialogs for inserting and editing. Creating such dialogues (forms) is made in Form Editor, which can be accessed from the dialog boxes  Create Group, Create marker and Object Wizard .

Button CAD drawing MECHWIZARD 77 Open the form editor.

Menu

File

      ·    Test. Opens the form for viewing and testing.

      ·    Output. Closes the form editor.

Correction

      ·    Cancel. Cancels the previous execution of operations.

      ·    Cut, copy, paste CAD drafting MECHWIZARD 78CAD software MECHWIZARD 79CAD drawing MECHWIZARD 80. Command working with the clipboard.

      ·    Select all. Selects all the controls on the panel shape.

      ·    Remove. Deletes the selected controls from the form.

      ·    Group. Group the selected controls.

      ·    Ungroup. Cancels the grouping selected controls.

View

      ·    By ... edge. Alignment commands selected controls along one edge.

      ·    Align dimensions. Aligns the selected controls dimensions.

      ·    Above and below. Reverses the order of the tab selected control by moving it up a level or down

      ·    Forward, backward . Changes the tab order of the selected control by moving it to the first or the last level.

      ·    Tab order CAD drafting MECHWIZARD 81. Includes display serial numbers tab controls.

                  ·     To set the tab order to be pressed sequentially controls on the left mouse button. Tab order will be set according to the sequence control option.

      ·    Properties. Enables and disables the additional window Properties.

      ·    Variables. Enables and disables the additional window variables.

      ·    Grid CAD software MECHWIZARD 82. Turns on and off the grid and snap to grid.

      ·    Indents CAD drawing MECHWIZARD 83. Enables or disables the frame shape

Insert

There are commands insert controls

      ·    CAD drafting MECHWIZARD 84Input field ..

      ·    CAD software MECHWIZARD 85Checkbox ..

      ·    CAD drawing MECHWIZARD 86Switch.

      ·    CAD drafting MECHWIZARD 87List.

      ·    CAD software MECHWIZARD 88List from the database.

      ·    CAD drawing MECHWIZARD 89Combo box.

      ·    CAD drafting MECHWIZARD 90Combo box from the database .

      ·    CAD software MECHWIZARD 91Text.

      ·    CAD drawing MECHWIZARD 92Group.

      ·    CAD drafting MECHWIZARD 93Figure.

      ·    CAD software MECHWIZARD 94Panel.

      ·    CAD drawing MECHWIZARD 95Button.

      ·    CAD drafting MECHWIZARD 96Table with filtering.

      ·    CAD software MECHWIZARD 97Table.

      ·    CAD drawing MECHWIZARD 98Types and performance.

      ·    CAD drafting MECHWIZARD 99Viewing.

Forms panel

On the forms produced occupancy controls.

In the context menu of the forms are available editing commands: cut, copy, paste, group, ungroup.

To add a control to the form by one of the following ways:

      ·    Select the desired control from the menu Insert or toolbar. Specify the insertion point and set the dimensions of the control panel on the form.

After adding the control you want to bind it to a field in the Properties.

      ·    In the open window, Variables , select the variable for which you want to add a control. Left-click on the variable in the list, and holding down the mouse button, move the cursor to the panel shape. Release the mouse button. Panel forms added group controls - text and input field .

If you insert a control from the window variables hold down Control, then it is possible to select the type of control.

Selection of the control panel forms can be accomplished in several ways:

      ·    Single click of the left mouse button. Selected one control.

      ·    Single click of the left mouse button while pressing Control . If the control is not selected, it is added to the current set. If a control is selected, it is removed from the current set.

      ·    Choosing a crossing . Click the left mouse button in the space bar form. Holding the button down and dragging a selection box set. Selected controls that are fully or partially captured by the selection frame.

Editing the size of the control is done by using the " grips ". When the grid is resized with a certain step.

Changing the position of the selected controls performed with the left mouse button on one of the selected items. When the grid movement occurs incrementally.

Align controls

In the menu View available commands align controls on edge and size.

     Controls aligned to the left, and then by size .

Grouping controls

Working with multiple controls may need to be fixing their relative position. If grouping is fixed relative position of the controls, and when you move one of the other grouped elements also move.

Select panel forms controls and issue the Group. Selected controls will be grouped.

Removing Controls made the command Delete.

Test the form

Before completing the form creation is recommended to execute the test to view the form.

Variables window

In the Variables are parameters of the object ( marker , database object , group ).

Icon CAD software MECHWIZARD 100 marked parameters that are associated with controls editable form

Properties window

In the Properties lists the properties of the selected controls on the form. At the bottom there is a line prompt with a brief description of the selected property

Interaction of the form with the script

Interaction of the form with the script

The form and the design elements located on it interact with the script using properties and events.

Properties

All form properties start with a prefix  "Form."

Control properties (design elements) start with a prefix "Form.$$$", where $$$ — name of the control on the properties panel of the form editor, case-sensitive.

Example:

Form.editbox.Value = "";

When accessing the control value (design element), the ".Value" parameter can be skipped.

Example: 

Form.editbox = "";

For controls associated with script variables, the value can be passed through a variable.

Example:  

// Bind the variable
 Form.editbox.Field = "strType";
 //...
 OnDialogChanged {
 // The next three lines do same.
 // If values conflict,
 // priority is taken into account.
 // Priority decreases from top to bottom:
   Form.editbox.Value = "";
   Form.editbox = "";
   strType = "";
 }

While the form is active, you can work with its properties and the properties of its controls as with ordinary variables. In this case, the changes made in the script will be applied to the form after exiting the reactor function.

function OnDialogChanged
 {
   if (Mode == 1) {
     Form.groupbox.Visible = FALSE;
     Form.Lable1.Left = 50;
   } else {
     Form.groupbox.Visible = TRUE;
     Form.Lable1.Left = 10;
   }
   Form.editbox.Left = Form.Label1.Left + 40;
   Form.Label1.Right = Form.Label1.Right + 38;
 }

Property

Access

Note

Form.Count

read

The number of controls on the form.

Form.Width

read

The width of the form's client area.

Form.Height

read

The height of the form's client area.

Form.Help

full

Link to the reference manual. If the path is relative, it is padded relative to the path to the project's Help folder.

May be:

- the path to the chm-file with or without the chapter (don't specify the protocol).

- link to file

- NormaCS page or document: http://help.spds.ru (Protocol is obligatory).

- help index

Form.$$$

full

The value of the control.

Form.$$$.Value

full

The value of the control.

Form.$$$.Enabled

full

Control enabled/disabled.

Form.$$$.Visible

full

Control visible/invisible.

Form.$$$.Field

full

The name of the script variable associated with the control.

Form.$$$.Tooltip

full

Hint text.

Form.$$$.Left

full

Control size - indent on the left.

If a binding was set in the form editor, after changing the dimensions, the coordinates of all controls will be recalculated taking into account these changes.

Form.$$$.Top

full

Control size - indent from above.

Form.$$$.Right

full

Control size - indent on the right.

Form.$$$.Bottom

full

Control size - indent from below.

Form.$$$.Count

full

The number of items in the list or dropdown list.

Form.$$$.Items[#]

full

The #-th element of the list or dropdown list.

Eventы

An event handler in this context is a script function that is called in response to an event on the form. Events will be called form properties that store the names of event handlers. There are events of the form itself and events of its controls. You can work with them as with normal form properties.

Example:

//Assign the OnChange event to the OnEditChange function
 Form.editbox.OnChange = "OnEditChange";

Event

When called

Form.OnShow

Before showing the form. All form properties are already defined.

Form.OnClose

Before closing the form.

Form.$$$.OnChange

After changing the value of the control by the user. Changing a control from a script does not generate this event.

Form.$$$.OnEnter

When the control receives input focus.

Form.$$$.OnLeave

When the control loses input focus.

Switches

The logic of the switches is somewhat different from other design elements. Multiple radio buttons are bound to the same script variable. Each of them is set to some value. The variable is set to the value of the enabled switch. The value is of type string. If "-1" is set, the value is assigned automatically, starting from 1, in TAB order. In this case, the value type will be numeric.

Radio buttons associated with a single variable are considered a group. Only one radio button can be enabled in a group. If the variable is not assigned, radio buttons located inside the same control are grouped. This is usually a Group or Panel.

Examples

Event handling. In the script code, bind the Edit control to the script variable d. When the Edit value changes, update the text in the Static label.

      ·    Solution 1. When the EditBox value changes from the form, the OnDialogChanged function will be called. Assign EditBox control Field name = d. The EditBox control will automatically synchronize its value with the d variable.

function OnDialogChanged
 {
   Form1.editbox1.Field = "d";
   Form1.static1 = "Hole diameter: " + d + "mm";
 }

      ·    Solution 2. Assign an OnChange event handler to the EditBox control.

function OnDialogChanged
 {
   Form1.editbox1.OnChange = "OnEditChanged";
   Form1.editbox1 = d;
 }
 function OnEditChanged
 {
   d = Form1.editbox1;
   Form1.static1 = "Hole diameter: " + d + "mm";
 }

      ·    Solution 3. Let's combine both previous solutions. The d variable will be synchronized with the EditBox control automatically, and the text of the Static label will be updated from the OnChange event handler.

function OnDialogChanged
 {
 Form1.editbox1.OnChange = "OnEditChanged";
 Form1.editbox1.Field = "d";
 }
 function OnEditChanged
 {
 Form.Label = "Hole diameter:" + d + "mm";
 }

List management. Build a list of values in a combo dropdown list.

function OnDialogChanged
 {
 // You can set the number after the values, but before the values - somehow clearer.
 Form.Combo.Count = 5;
 // Elements are numbered from 1.
 Form.Combo.Items[1] = “(нет)”;
 Form.Combo.Items[2] = “Item1”;
 Form.Combo.Items[3] = “Item2”;
 Form.Combo.Items[4] = “Item3”;
 Form.Combo.Items[5] = “Item4”;
 // This command will fail because there are only 5 items in the list.
 Form.Combo.Items[6] = “Item5”;
 }

Form properties

General

Help URL

 

Caption

 

Editor

Top margin

8

Height

400

Left margin

8

Bottom margin

8

Margin

CAD drawing MECHWIZARD 101

Right margins

8

Grid

CAD drafting MECHWIZARD 102

Grid step

8

Width

400

 

Note:

In the "Help" parameter, the path to the user help is entered. User help will be invoked if the focus is on form control. If the focus is on the "Cancel" or "OK" buttons, the help of standard elements will open.

CAD software MECHWIZARD 103Input field. The input field is used to enter numeric or symbolic expressions for further processing.

Properties command:

View

Visible

CAD drawing MECHWIZARD 104

Alignment

On the edge

Multiline

CAD drafting MECHWIZARD 105

Flat

CAD software MECHWIZARD 106

Tip

 

Linking

(None)

Enable

CAD drawing MECHWIZARD 107

Text

None

Formatting

CAD drafting MECHWIZARD 108

Basic

Name

editbox1

Class

After entering

Variable

 

Type

Line

Position

 Upper limit

56

Height

56

Left boundary

176

Lower limit

112

Right boundary

232

Width

56

Measurements

Meter

CAD software MECHWIZARD 109

Mode

Auto

Regime change

CAD drawing MECHWIZARD 110

Developments

Activation

 

Deactivation

 

To change

 

CAD drafting MECHWIZARD 111Checkbox. Allows you to monitor on/off.

Properties command:

View

Visible

CAD software MECHWIZARD 112

Tip

 

Linking

(None)

Allowed

CAD drawing MECHWIZARD 113

Text

Flag

Basic

Enabled

CAD drafting MECHWIZARD 114

Name

checkbox

Class

Flag

Variable

 

Position

Upper limit

8

Height

16

Left boundary

8

Lower limit

24

Right boundary

72

Width

64

Developments

by clicking

 

CAD software MECHWIZARD 115Switch .Switches to monitor the status on/off. Several individual switches interconnected to form a "group switch" to track more states. Example of use of the group switch.

Description:

Several switches are associated with the same variable script. Each of them set any value. Variable is set to the included switch. Value is of type string. If set to "-1" value is assigned automatically starting with 1, in the tab order for TAB. In this case, the value type is numeric. Switches associated with a single variable group are considered. In the group may be included in only one switch. If a variable is assigned, grouped switches located inside one of the control. Usually this group or panel.

Properties command:

View

Visible

CAD drawing MECHWIZARD 116

Tip

 

Linking

(None)

enabled

CAD drafting MECHWIZARD 117

Text

Switch

Basic

Included

CAD software MECHWIZARD 118

Value

-1

Name

radiobutton

Class

Switch

Variable

 

Position

Upper limit

24

Height

24

left boundary

8

Lower limit

48

Right boundary

112

Width

104

Developments

by pressing

 

Example of using.
Switches allow you to choose between discrete values, the result is displayed in the input field

CAD drawing MECHWIZARD 119

CAD drafting MECHWIZARD 120List. Used to select one value from a specified list.

Properties command:

View

Visible

CAD software MECHWIZARD 121

Tip

 

Linking

(None)

Enable

CAD drawing MECHWIZARD 122

Text

-1

Basic

Data

"Element 1"

Name

Listbox

Class

List

Variable

 

Current

-1

Position

 Upper limit

48

Height

40

 Left boundary

8

Lower limit

88

Right boundary

104

Width

96

Developments

Activation

 

Deactivation

 

To change

 

CAD drafting MECHWIZARD 123List from the database.. Used to select one value from a pre-specified list in the database.

Properties command:

View

Visible

CAD software MECHWIZARD 124

Tip

 

Linking

(None)

Enable

CAD drawing MECHWIZARD 125

Text

 

Basic

Data

 

Name

Listbox1

Class

List of base

Variable

 

Current

 

Position

Upper limit

96

Height

60

Left boundary

8

Lower limit

156

Right boundary

104

Width

96

Developments

Activation

 

Deactivation

 

To change

 

CAD drafting MECHWIZARD 126Combo box. Designed to select from the specified list or enter an arbitrary value.

Properties command

View

Visible

CAD software MECHWIZARD 127

Tip

 

Linking

(None)

enabled

CAD drawing MECHWIZARD 128

Text

Combo box

Basic

Data

 

Name

combobox

Class

combobox

Variable

 

Editable

CAD drafting MECHWIZARD 129

Position

 upper limit

168

Height

76

left boundary

8

Lower limit

244

Right boundary

104

Width

96

Developments

activation

 

deactivation

 

to change

 

CAD software MECHWIZARD 130Combo box from the database. Designed to select from the specified list or enter an arbitrary value.

Properties command:

View

Visible

CAD drawing MECHWIZARD 131

Tip

 

Linking

(None)

Enabled

CAD drafting MECHWIZARD 132

Text

 

Basic

Data

 

Name

combobox1

Class

combobox

Variable

 

Editable

CAD software MECHWIZARD 133

Position

 Upper limit

208

Height

64

 Left boundary

8

Lower limit

272

Right boundary

104

Width

96

Developments

Activation

 

Deactivation

 

To change

 

CAD drawing MECHWIZARD 134Text . Static (non-editable) text formatting support. Specify the formatting is applied to the entire text.

Properties command:

View

Visible

CAD drafting MECHWIZARD 135

Headset

(Info)

Tip

 

Linking

(None)

Transparent

CAD software MECHWIZARD 136

Text

Text

Background

 

Basic

Name

static

Class

Text

Label

 

Variable

 

Position

Upper limit

280

Height

32

Left boundary

8

Lower limit

312

Right boundary

104

Width

96

CAD drawing MECHWIZARD 137Group. Decorative element, designed to visually group several controls on the form.

Properties command:

View

Visible

CAD drafting MECHWIZARD 138

Tip

 

Linking

(None)

Enabled

CAD software MECHWIZARD 139

Text

 

Basic

Name

groupbox1

Class

Group

Variable

 

Position

Upper limit

320

Height

38

Left boundary

8

Lower limit

358

Right boundary

104

Width

96

Developments

Activation

 

Deactivation

 

To change

 

CAD drawing MECHWIZARD 140Figure. Insert a simple bitmap to the form.

Properties command.:

Basic

Name

Image

Class

Drawing

Variable

 

View

Visible

CAD drafting MECHWIZARD 141

Data

(Info)

Tip

 

Linking

(None)

Transparent

CAD software MECHWIZARD 142

Proportionally

CAD drawing MECHWIZARD 143

Stretch

CAD drafting MECHWIZARD 144

Position

Upper limit

360

Height

57

Lleft boundary

8

Lower limit

417

Right boundary

105

Width

97

CAD software MECHWIZARD 145Panel. Designed for grouping and align multiple controls on the form.

Properties command:

Basic

Name

panel

Class

Panel

View

Linking

(None)

Position

 Upper limit

16

Height

49

Left boundary

112

Lower limit

65

Right boundary

185

Width

73

CAD drawing MECHWIZARD 146Button. Control "button." Response by pressing the left mouse button.

Properties command:

View

Visible

CAD drafting MECHWIZARD 147

Tooltip

 

Linking

(None)

Allowed

CAD software MECHWIZARD 148

Text

Button

Main

Icon

-1

Name

button

Class

Button

Variable

 

Position

Upper Bound

72

Height

32

Left bound

112

Lower limit

104

Right border

184

Width

72

Developments

by clicking

 

CAD drawing MECHWIZARD 149Table with filtering. Table variables to restrict the number of columns, and automatic filtering of the list columns.

Properties command:

Basic

Name

Control

Class

Table with filtering

Variable

 

View

Visible

CAD drafting MECHWIZARD 150

Tip

 

Linking

(None)

Enable

CAD software MECHWIZARD 151

Position

Upper limit

112

Height

32

Left boundary

112

Lower limit

144

Right boundary

184

Width

72

CAD drawing MECHWIZARD 152Table . Table variables with the ability to view and select a row.

Properties command:

Basic

Name

Control1

Class

Table with filtering

Variable

 

View

Visible

CAD drafting MECHWIZARD 153

Tip

 

Linking

(None)

Enable

CAD software MECHWIZARD 154

Position

Upper boundary

152

Height

40

 Left boundary

112

Lower limit

192

Right boundary

184

Width

72

CAD drawing MECHWIZARD 155Views and performance. Table for selection and execution of standard projection of the object from the database.

Properties command:

View

Visible

CAD drafting MECHWIZARD 156

Tip

 

Linking

(None)

Enable

CAD software MECHWIZARD 157

Basic

Name

Control2

Class

Views and performance

Execution

Show performance

CAD drawing MECHWIZARD 158

Types

CAD drafting MECHWIZARD 159

CAD software MECHWIZARD 160

CAD drawing MECHWIZARD 161

CAD drafting MECHWIZARD 162

CAD software MECHWIZARD 163

CAD drawing MECHWIZARD 164

CAD drafting MECHWIZARD 165

CAD software MECHWIZARD 166

CAD drawing MECHWIZARD 167

CAD drafting MECHWIZARD 168

CAD software MECHWIZARD 169

CAD drawing MECHWIZARD 170

Display Types

CAD drafting MECHWIZARD 171

Shows the type form

CAD software MECHWIZARD 172

Position

Upper limit

200

Height

32

Left boundary

112

Lower limit

232

Right boundary

184

Width

72

CAD drawing MECHWIZARD 173Preview. Preview box of the selected object from the database.

Properties command:

View

Visible

CAD drafting MECHWIZARD 174

Tip

 

Linking

(None)

Enabled

CAD software MECHWIZARD 175

Text

PreViewControl

Basic

Name

control3

Class

Review

Position

Upper limit

240

Height

40

 Left boundary

112

Lower limit

280

Right boundary

184

Width

72

Collection Editor

Serves for quick creation of lists and their subsequent use in form controls and custom sorting in tables.

Dialog

The dialog is divided into two parts: Collection name and Collection members.

CAD drawing MECHWIZARD 176

Collection management tools

CAD drafting MECHWIZARD 177Add new collection.

CAD software MECHWIZARD 178Delete collection.

Collection members management tools

CAD drawing MECHWIZARD 179Add new collection member.

CAD drafting MECHWIZARD 180Delete collection member.

CAD software MECHWIZARD 181Delete all collection members.

CAD drawing MECHWIZARD 182Move collection member upper.

CAD drafting MECHWIZARD 183Move collection member down.

CAD software MECHWIZARD 184Paste from clipboard.

 

Create and assign a collection while editing a form

In order to create a collection you need to:

    1.     Click the "Data" option in the DB-Listbox or DB-combobox. A dialog box will appear.

    2.     In the list of collections, call the CAD drawing MECHWIZARD 185"Add new collection" command and enter a name for the collection.
CAD drafting MECHWIZARD 186

    3.    Set the composition of the collection.
CAD software MECHWIZARD 187
CAD drawing MECHWIZARD 188

    4.    Select a collection and click "OK" in the Collection Editor dialog box.

    5.    he created collection will look like this:
CAD drafting MECHWIZARD 189

Creating custom filtering on a table

In order to create a collection you need to:

    1.     Go to Edit Table Dialog "Main Menu - Rows - Custom Sort...".

    2.    In the list of collections, run the CAD software MECHWIZARD 190"Add new collection" command and enter a name for the collection.
CAD drawing MECHWIZARD 191

    3.    Set the composition of the collection.
CAD drafting MECHWIZARD 192
CAD software MECHWIZARD 193

    4.    Click "OK" in the Collection Editor window.

Purpose of custom filtering in a table

    1.    In the "Row grouping and merging" dialog box add a "User Sort" rule.

CAD drawing MECHWIZARD 194

    2.    Select a collection and click "OK".

    3.    The custom sort created will look like this:
CAD drafting MECHWIZARD 195

Important!

Collections are saved to the database, they can be used in other objects  nanoCAD Mechanica 23.

Forms and tables have separate stores.

Collections created by editors or administrators are available to everyone and cannot be edited by the user (the collection editing buttons will be grayed out).

User-created collections are only accessible to the user.

Table resources

Section Table of resources designed to create a multilingual resource strings details.

CAD software MECHWIZARD 196

In the context menu section, there are options to add and delete rows.

CAD drawing MECHWIZARD 197

Each resource can have a name (Label), by which it will be referenced from the script (by writing the @Resource Name ). The property is selected, the row that corresponds to the name of the resource (or its ID) and the column corresponding to the application language. Thus, we can ensure the correct operation of applications of different locations on the same database. Of course, the current local line must be completed, otherwise for non-Russian locale is selected resource corresponding to the English language.

Script

When switching to the section script in the workspace displays the script object.

CAD drafting MECHWIZARD 198

In the context menu of the script  contains option parsing script.

CAD software MECHWIZARD 199

While parsing the functions performed consistently script object and passed to the notification system error messages. By double-clicking on a line in the notification area on the transition line of the script that contains the error.

CAD drawing MECHWIZARD 200

Symmetry axis

CAD drafting MECHWIZARD 201Main menu: Mechanical - Standard parts - MechWizard - CAD software MECHWIZARD 202Symmetry axis.

CAD drawing MECHWIZARD 203Ribbon: MechWizard - CAD drafting MECHWIZARD 204Symmetry axis.

CAD software MECHWIZARD 205Toolbar: CAD drawing MECHWIZARD 206Symmetry axis ( "MechWizard").

CAD drafting MECHWIZARD 207Command line: MCWIZSYM.

Select the segment to set it as the axis of symmetry. Drawing can contain multiple axes of symmetry. Symmetrical layout sketch relating to a particular axis is determined automatically by the recognition of a parametric model.

Set Parameter

CAD software MECHWIZARD 208Main menu: Mechanical - Standard parts - MechWizard - CAD drawing MECHWIZARD 209Set Parameter.

CAD drafting MECHWIZARD 210Ribbon: MechWizard - CAD software MECHWIZARD 211Set Parameter.

CAD drawing MECHWIZARD 212Toolbar: CAD drafting MECHWIZARD 213Set Parameter ( "MechWizard").

CAD software MECHWIZARD 214Command line: MCWIZPARAM.

Button  Set parameter is used for setting targets sketch. Press the button and select the object (sketch element). This will bring up a dialog box, the form of which depends on which object was selected.

Setting size

When setting the size of the dialog box will look like:

CAD drawing MECHWIZARD 215

Enter a parameter expression to control the size. The parameter can be set by a variable name or expression that is allowed to use the number and names of the variables related to mathematical and logical functions.

Important!

Object parameter names should not coincide with the names of the teams nanoCAD (for example, can not be assigned to the parameter name HATCH or LINE)

Expressions can be used the following functions:

      ·    arithmetic operators +, -, *, /

      ·    trigonometric functions sin(), cos(), tg() (the function argument is given in degrees)

      ·    inverse trigonometric functions asin(), acos(), atg()

      ·    taking the square root function sqrt()

      ·    exponentiation function^ (recording format: x ^ y - x raising y)

      ·    absolute value abs()

      ·    rounded to an integer value int().



Logical operations:

      ·    Min(x,y) - returns the minimum value of the argument;

      ·    Max(x,y) - returns the greatest value.

      ·    Iff (boolean, x, y) - returns the value of the argument x if the logical expression is true, or the value of y if the logical expression is false. Example of using the function, the result of which is similar to the function Min (x, y): Iff(x<y, x, y).

Valid logical conditions: >, <, == (equal), ! = (Not equal), > = (not less than), <= (not more).

Function within an expression can be nested.

Setting the graphic element

When you set a graphic element sketch (segment, circle arc, circle, spline or shading) dialog box will look like:

CAD drafting MECHWIZARD 216

Work items are supporting the construction of a thumbnail and are not displayed when you insert a model from the database. Performance object can be any graphic sketch element: line, arc of a circle, etc.

Setting the insertion point

When setting the insertion point, a dialog box will look like:

CAD software MECHWIZARD 217

Distance along the axes OX and OY determines the position of the handle in the object. Distance can be set expression or numeric value.

Parameter on the x-axis and OX and OY is the name of the script variable whose value will change when stretching the handle.

Button CAD drawing MECHWIZARD 218 specify parameter  lets take a parameter or drawing away.

Enter additional values

In the sketch may include additional expressions for calculation of parameters. These expressions should be written a single line text entry format each line of text as follows:

X = EXPR

where X - the variable name;

EXPR - an expression that contains the names of variables, mathematical or logical functions.

Examples of additional rows of values:

      ·    a = b*2 - assigning the result of an arithmetic operation;

      ·    alpha = asin(b/c) - the use of trigonometric functions;

      ·    k = iff(a>b, 1, 0) - assign a value to the condition;

      ·    d = min(m1, 100) - the assignment of the smallest of the two values;

      ·    g10 = sin(alpha*2) + sqrt(b^2 - c^3) / min(sin(a), cos(b)) - nested functions.

Sequence computing additional rows values - from left to right and top to bottom. Additional values values recognizing parametric form must be selected along with other sketch entities.

Insert point

CAD drafting MECHWIZARD 219Main menu: Mechanical - Standard parts - MechWizard - CAD software MECHWIZARD 220Insert point.

CAD drawing MECHWIZARD 221Ribbon: MechWizard - CAD drafting MECHWIZARD 222Insert point.

CAD software MECHWIZARD 223Toolbar: CAD drawing MECHWIZARD 224Insert point ( "MechWizard").

CAD drafting MECHWIZARD 225Command line: MCWIZINS.

The insertion point should always be shown on the sketch of the parametric model. Click to choose its position on the sketch.

If you try to check the model or recognize the form of a sketch in which the insertion point is not specified on the command line, you are prompted to "Select insert point". Then you need to specify the sketch position of the insertion point.

In the case of several insertion points in the sketch, recognition will be considered only of the one that has been specified later, and all others will be ignored.

Suppression contour

CAD software MECHWIZARD 226Main menu: Mechanical - Standard parts - MechWizard - CAD drawing MECHWIZARD 227Supression contour.

CAD drafting MECHWIZARD 228Ribbon: MechWizard - MechWizard - CAD software MECHWIZARD 229Supression contour.

CAD drawing MECHWIZARD 230Toolbar: CAD drafting MECHWIZARD 231Suppression contour.

CAD software MECHWIZARD 232Command line: MCWIZCONTOUR.

Important!

The command prepares the sketch for recognizing the execution type of the base object.

A suppression contour limits the area that the object overlaps with other graphics in the drawing. If the suppression contour is not specified, it is created automatically when the model is recognized by the external outlines of the part, and service objects are not taken into account.

Procedure

1. Draw a closed polyline on the sketch that matches the shape and size of the required suppression contour (in the figure, a rectangle around the sketch).

CAD drawing MECHWIZARD 233

2. Call the command  CAD drafting MECHWIZARD 234"Supression contour".

3. Specify the constructed polyline. The contour is highlighted in green in the sketch.

CAD software MECHWIZARD 235

A prerequisite for the contour is the absence of self-intersections. To avoid self-intersections for a compound contour, create the contour manually, leaving a minimum "isthmus" between the areas:

Wrong

Right

CAD drawing MECHWIZARD 236

CAD drafting MECHWIZARD 237

If the suppression contour cannot be created automatically (the outer boundaries of the object do not form a closed contour), then when the object is inserted into the drawing, a corresponding warning message will be displayed. However, errors in the suppression contour do not affect the applicability of the recognized object, and can only appear in the wrong overlap of other objects in the drawing.

Hatch contour

CAD software MECHWIZARD 238Main menu: Mechanical - Standard parts - MechWizard -CAD drawing MECHWIZARD 239Hatch contour.

CAD drafting MECHWIZARD 240Ribbon: MechWizard - MechWizard - CAD software MECHWIZARD 241Hatch contour.

CAD drawing MECHWIZARD 242Toolbar: MechWizard - CAD drafting MECHWIZARD 243Hatch contour.

CAD software MECHWIZARD 244Command line: MCWIZSECTCONTOUR.

Important!

The command prepares the sketch for recognizing the execution type of the base object.

A hatch contour defines the shaded area of an object in the drawing.

Procedure

1. Draw a closed polyline in the sketch that matches the shape and size of the required hatch contour (in the figure, a rectangle around the sketch).

CAD drawing MECHWIZARD 245

2. Call the command CAD drafting MECHWIZARD 246"Hatch contour".

3. Select the constructed polyline. The outline will be highlighted in red in the sketch.

CAD software MECHWIZARD 247

A prerequisite for the contour is the absence of self-intersections. To avoid self-intersections on a compound contour, create the contour manually, leaving a minimum "isthmus" between the areas.

Wrong

Right

CAD drawing MECHWIZARD 248

CAD drafting MECHWIZARD 249

Array

CAD software MECHWIZARD 250Main menu: Mechanical - Standard parts - MechWizard - CAD drawing MECHWIZARD 251Parametric model.

CAD drafting MECHWIZARD 252Ribbon: MechWizard - CAD software MECHWIZARD 253Parametric model.

CAD drawing MECHWIZARD 254Toolbar: CAD drafting MECHWIZARD 255Parametric model ( "MechWizard").

CAD software MECHWIZARD 256Command line: MCWIZARR.

    1.    Create primitives of nanoCAD block and select the required dimensions in the sketch to determine its size and location.

    2.    Press the CAD drawing MECHWIZARD 257array and selected block in the drawing.

    3.    In the dialog box, select an array type and parameters that control the construction of the array. Parameters can be assigned to both numeric and non-numeric values (variable names and expressions).

CAD drafting MECHWIZARD 258

Every single unit with a unique name that is inserted into a sketch can be used only in a single array.

Test Model

CAD software MECHWIZARD 259Main menu: Mechanical - Standard parts - MechWizard - CAD drawing MECHWIZARD 260Test model.

CAD drafting MECHWIZARD 261Ribbon:  MechWizard - CAD software MECHWIZARD 262Test model.

CAD drawing MECHWIZARD 263Toolbar: CAD drafting MECHWIZARD 264Test model ( "MechWizard").

CAD software MECHWIZARD 265Command line: MCWIZ.

Checks sketch of a parametric model.

Highlight crossing window thumbnail and press Enter. If the sketch contains no errors, a message appears

If the sketch is not large enough, a message appears warning of an error.

Create sketch

The sketch is the original model of the parametric view of the object.

CAD drawing MECHWIZARD 266

When creating parametric objects, the commands of the "MechWizard" toolbar are used.

Procedure

1. Prepare a sketch. For correct recognition, all graphic elements of the sketch (including hatching) must be drawn with the appropriate linetype. Similar types (solid thick and thin, dash-dotted thin and thick) should be distinguished by the color set in the nanoCAD Mechanicasettings.

CAD drafting MECHWIZARD 267

2. Set the insertion point, optionally specify the axis of symmetry, sketch element options, suppression contour, hatch contour and paramentric array.

CAD software MECHWIZARD 268

3. Dimension and assign variables and expressions to them.

CAD drawing MECHWIZARD 269

4. Enter additional parameters as needed.

CAD drafting MECHWIZARD 270

5.  Check the sketch and make sure there are no errors.

CAD software MECHWIZARD 271

Examples

Creating a template layout tiles

Example of creating a template layout tiles.

    1.    Create a sketch of the object. If the size of the tiles will not change, then the sketch is not required to specify the size.
Terms and method of creating a sketch of the parametric object described in section Rules for creating sketches .

CAD drawing MECHWIZARD 272

    2.    Create an object and save it to the database. In a script, you must set the variable "type" (strTheType = "Plate")

    3.    Position the Bone in the drawing, insert the base of the two vectors and create a group. (see. Create user group ). These vectors determine the pace and direction of replication of the original group. The basic point of the vector must coincide with the insertion point of the object.
CAD drafting MECHWIZARD 273

If only one vector will create one line layout in any mode selection area.