Drawing Tokens

Drawing Tokens

What is a Drawing Token?

Drawing Tokens are different from Machining Tokens in that they will not perform machining or impact g-code. Drawing Tokens are intended to provide extra details for drafting and detailing purposes. Most products come standard with drawing tokens already in place. For instance, when drawing product sections, you'll notice some drawing tokens have already been included (dimensions, labels, hatching, etc.). This information can be viewed in the spreadsheet by selecting the prompts tab of the desired subassembly. This article provides a list of the available drawing tokens and an explanation of their parameters so that users can make the most of them. 

The tokens listed below can be added to any tab except for those dealing with metafile pictures. The name of the token is what is added when using it in a formula. When viewing the parameters of the drawing tokens in the spreadsheet, the list below corresponds to the available columns for each drawing token. Please note that parameters in brackets are optional, and some of the parameters allow for multiple sets of information, each separated by the pipe symbol. Not all drawing tokens use every column available. A excel worksheet of the different token parameters is available at the bottom of the page. 

To access the tokens listed in this article open the Part Properties menu > show the properties for the subassembly of choice > select the Drawing Tokens tab > select the Prompts tab > select any tab below MetaFiles. 

To add a new drawing token, right-click in the empty list and select Add from the context menu. 
The [END] marker must come at the end of the list of drawing tokens. You may need to delete it and add it back to the end of your list. 

The visual representations of the Drawing Tokens below are drawn as a Plan Section.
When in Top view, the upper left corner of the product is the origin (0,0), this positions the product in the fourth quadrant, so Y will need to be a negative number when the intent is to draw within the product.

DRAWLINE

This token will draw a single line based on the parameters.


Parameter 1 – Start X

Start X refers to the starting point of the line on the x-axis of the selected subassembly.

Parameter 2 – Start Y

Start Y refers to the starting point of the line on the y-axis of the selected subassembly.

Parameter 3 – End X

End X refers to the ending point of the line on the x-axis of the selected subassembly.

Parameter 4 – End Y

End Y refers to the ending point of the line on the y-axis of the selected subassembly.

Parameter 8 – [Comment]

This parameter allows you to enter comments for the product. You can enter up to three comments, each separated by the pipe symbol.

Parameter 9 – [Layer name] | [Color]

This parameter refers to the name of the layer and the color code separated by a pipe symbol (|).

DRAWARC

This token will draw a single curved line based on the parameters.


Parameter 1 – Start X

Start X refers to the starting point of the arc on the x-axis of the selected subassembly.

Parameter 2 – Start Y

Start Y refers to the starting point of the arc on the y-axis of the selected subassembly.

Parameter 3 – End X

End X refers to the ending point of the arc on the x-axis of the selected subassembly.

Parameter 4 – End Y

End Y refers to the ending point of the arc on the y-axis of the selected subassembly.

Parameter 5 – Center X

Center X refers to the midpoint of the arc on the x-axis.

Parameter 6 – Center Y

Center Y refers to the midpoint of the arc on the y-axis.

Parameter 8 – [Comment]

This parameter allows you to enter comments for the product. You can enter up to three comments, each separated by the pipe symbol (|).

Parameter 9 – [Layer name] | [Color]

This parameter refers to the name of the layer and the color code separated by a pipe symbol (|).

DRAWPOLYLINE

This token will draw a polyline that can contain multiple vector points.


Parameter 1 – Point List - Format: 0;0|10;10

Use this parameter to create a list of 2D coordinates (x;y). Separate the x and y values with a semicolon, and separate the points with a pipe symbol (|).

Parameter 2 – [Bulge List] - Format: 0;0

Enter the bulge for each vector.  Zero is a straight-line route.  Separate each value with a semicolon.  If the entry is left blank, the polyline will be straight. 

Entering this parameter through the prompts will produce 0’s on the right end of the entered value. This enables the software to register the information's origin. It will not affect the value in any way.

Parameter 3 – [Bulge Direction] – Format: 0

Enter the directional value for each vector, either 0 or 1.

0 will assign positive bulge values to represent counterclockwise arcs & negative bulge values to represent clockwise arcs.

1 will assign positive bulge values to represent clockwise arcs & negative bulge values to represent counterclockwise arcs. 

The default, recommended value is 1.

Parameter 8 – [Comment]

This parameter allows you to enter comments for the product. You can enter up to three comments, each separated by the pipe symbol (|).

Parameter 9 – [Layer name] | [Color]

This parameter refers to the name of the layer and the color code separated by a pipe symbol (|).

DRAWRECTANGLE

This token will draw a rectangle.


Parameter 1 – Start X

Start X refers to the starting point of the rectangle on the x-axis of the selected subassembly.

Parameter 2 – Start Y

Start Y refers to the starting point of the rectangle on the y-axis of the selected subassembly.

Parameter 3 – Width

This parameter refers to the width of the rectangle.

Parameter 4 – Height

This parameter refers to the Height of the rectangle.

Parameter 8 – [Comment]

This parameter allows you to enter comments for the product. You can enter up to three comments, each separated by the pipe symbol (|).

Parameter 9 – [Layer name] | [Color]

This parameter refers to the name of the layer and the color code separated by a pipe symbol (|).

DRAWCIRCLE

This token will draw a circle.


Parameter 1 – Start X

Start X refers to the x coordinate at the center of the circle.  

Parameter 2 – Start Y

Start Y refers to the y coordinate at the center of the circle.

Parameter 3 – Radius

This parameter is the length of the radius of the circle.

Parameter 8 – [Comment]

This parameter allows you to enter comments for the product. You can enter up to three comments, each separated by the pipe symbol (|).

Parameter 9 – [Layer name] | [Color]

This parameter refers to the name of the layer and the color code separated by a pipe symbol (|).

DRAWDIM

This token will add a dimension label based on the parameters.


Parameter 1 – Start X

Start X refers to the starting x coordinate for the brackets delineating the dimension being marked.

Parameter 2 – Start Y

Start Y refers to the starting y coordinate for the brackets delineating the dimension being marked.

Parameter 3 – End X

End X refers to the ending x coordinate for the brackets delineating the dimension being marked.

Parameter 4 – End Y

End Y refers to the ending y coordinate for the brackets delineating the dimension being marked.

Parameter 5 – Leader Length

Length of the leader.


Parameter 6 – [Dimension Text]

This parameter refers to the actual text being printed. Enter the label that you want to be displayed.

Parameter 7 – [Dim Style]

Dim Style is a set of styles within AutoCAD. You can find a list of available Dim Styles in the Dimension Style Manager.


Dim Style can only be used if you’re not using annotative scaling.
Parameter 8 – [Comment]

This parameter allows you to enter comments for the product. You can enter up to three comments, each separated by the pipe symbol (|).

Parameter 9 – [Layer name] | [Color] | {Rotation Override (Rep) (15.5+)] | [TextHeight (Rep)(15.5+)]

This parameter refers to the name of the layer and the color codeseparated by a pipe symbol (|).


DRAWTEXT

The token allows users to add text based on the parameters.


Parameter 1 – Start X

This parameter marks the starting x coordinate for the line of text.

Parameter 2 – Start Y

This parameter marks the starting y coordinate for the line of text.

Parameter 3 – [Angle]

This parameter determines the angle of the text.

Parameter 4 – Width

The width is used in conjunction with the Start X parameter to determine text alignment (Parameter 7)(Will Convert to MTEXT and Wordwrap If Populated).

Parameter 6 – Text

This parameter determines the actual text to be displayed.

Parameter 7 – [Text Style] | [Text Alignment]

Text Style refers to an AutoCAD text style. You can find a list of available text styles in the Text Style menu.


Text style will only be used if you’re not using annotative scaling.

To align text to the left of your established width, enter a ‘0’. Enter a ‘1’ to center align the text. Enter a ‘2’ to right-align the text.

Parameter 5 and 7 are both used for DRAWTEXT token options.  Parameter 5 is the new method that allows you to use a single parameter to control both AutoCAD and Report image options.  If Parameter 5 is populated in the token the program will first use it.  If it is not populated the program will use the legacy parameter, which is parameter 7. Even though some options are CAD only, they should still be populated with a value even if only using the report.
Parameter 8 – [Comment]

This parameter allows you to enter comments for the product. You can enter up to three comments, each separated by the pipe symbol (|).

Parameter 9 – [Layer name] | [Color]

This parameter refers to the name of the layer and the color code separated by a pipe symbol (|).

DRAWLEADER

This token will draw an arrow based on the parameters.


Parameter 1 – Start X

This parameter marks the x coordinate that will be pointed to by the arrow.

Parameter 2 – Start Y

This parameter marks the y coordinate that will be pointed to by the arrow.

Parameter 3 – End X

This parameter marks the x coordinate at the end of the leader.

Parameter 4 – End Y

This parameter marks the y coordinate at the end of the leader.

Parameter 5 – Arrow length

This parameter refers to the length of the arrowhead itself, as opposed to the length of the entire leader. The length of the leader is established using the start and endpoint parameters.

Parameter 6 – Arrow width

This parameter is referring to the width of the arrowhead itself.

Parameter 8 – [Comment]

This parameter allows you to enter comments for the product. You can enter up to three comments, each separated by the pipe symbol (|).

Parameter 9 – [Layer name] | [Color]

This parameter refers to the name of the layer and the color code separated by a pipe symbol (|).

DRAWBLOCK

This token will add an AutoCAD drawing file from the Graphics folder in the Microvellum Data suite of folders.


Parameter 1 – Insert Position X

This parameter refers to the point on the x-axis where the AutoCAD drawing file will be inserted.

Parameter 2 – Insert Position Y

This parameter refers to the point on the y-axis where the AutoCAD drawing file will be inserted.

Parameter 3 – File Name
The name of the drawing file in the Graphics folder. 
The entire file path must be entered in this parameter.
Parameter 4 – [Rotation]

This parameter refers to the rotation of the block.

Parameter 5 – [Scale factor]

This parameter will change the size of the block. A value of 0.5 would make it twice as small, where a value of 2 should make it twice as large.

Parameter 8 – [Comment]

This parameter allows you to enter comments for the product. You can enter up to three comments, each separated by the pipe symbol (|).

Parameter 9 – [Layer name] | [Color]

This parameter refers to the name of the layer and the color code separated by a pipe symbol (|).

DRAWHATCH

This token will allow you to add a hatch pattern to the entity that immediately precedes it in the token list. It is only valid after used on an entity that is a circle or closed polyline.


If no entity precedes the DrawHatch token in the token list, it will not be applied.
Parameter 1 – Hatch Pattern

This parameter refers to the hatch pattern itself. For a full list of hatch patterns, type “HatchEdit” into the command line and select an internal. Within the Hatch Edit window is a dropdown list of patterns available.


Parameter 2 – [Hatch angle]

This parameter determines the angle of the hatch pattern.

Parameter 3 – [Hatch scale]

This parameter will accept a number between zero and two.

Parameter 8 – [Comment]

This parameter allows you to enter comments for the product. You can enter up to three comments, each separated by the pipe symbol (|).

Parameter 9 – [Layer name] | [Color]

This parameter refers to the name of the layer and the color code separated by a pipe symbol (|).


For further information on Drawing Tokens and their function, visit one of these articles: Working in the Drawing Tokens Tab ,  Understanding Drawing Tokens ,  Prompt Drawing Token Tabs .


    • Related Articles

    • Prompt Drawing Token Tabs

      The tabs listed along the right side of the prompt tab are the prompts drawing token tabs. In addition to using the drawing token parameter for the part, you can also use the prompts drawing tokens to modify how the product is drawn in 2D. Selecting ...
    • Working in the Drawing Tokens Tab

      Drawing Tokens Tab The Drawing Tokens tab contains the parameters to tell the program to draw this part in 2D or 3D in the drawing. Entering in a zero or leaving the parameter blank will tell the program not to draw the part in the drawing. If you do ...
    • Hardware from Machine Tokens (Overview)

      Microvellum software can now accumulate and populate hardware to the work order database based on specific machine tokens. It is one of the useful new Microvellum features supported in build 15.6.2201 or greater. This new ability works only with the ...
    • Microvellum Flatshot Token (Reference)

      The purpose of this article is to document the parameters of the Microvellum Flatshot Tokens available as of build 15.6. Elsewhere in the Microvellum Knowledge Base, you will find articles and tutorials giving an overview of the token, how to access ...
    • Hardware Machine Tokens

      The following article highlights Hardware Machine Tokens. These tokens are directly linked with the hardware itself and each token has a unique set of parameters that provide instructions for the parts. While the tokens can be customized in the User ...
    • Recent Articles

    • Toolbox Release Notes | Build 24.1.1105.641

      The following release notes apply to Toolbox build 24.1.1105.641 Nesting Fix Fig. 1: The fatal error that would occur during processing. There was reportedly an issue that occurred when clients attempted to process a work order using the nesting ...
    • Microvellum Foundation Library Release Notes | Build 24.1025

      The following release notes apply to Microvellum Foundation Library build 24.1025. Additions Added new global variable “Remove Stop Dado On Bottom Edge” for wood drawer boxes. Check this option to run the dado through at the bottom of the sub front ...
    • Toolbox Release Notes | Build 24.1.1030.641

      The following release notes apply to Toolbox build 24.1.1030.641 Routing and Profile Fixes Several issues were found with routing and polyline paths: Fig. 1: Horizontal routes off of a part disappearing (left) and appearing correctly (right). When ...
    • Toolbox Release Notes | Build 24.1.1010.641

      The following release notes apply to Toolbox build 24.1.1010.641 Biesse Winstore Fix Several issues with the Biesse Winstore plugin have been resolved: There was an issue that would sometimes occur wherein materials that were intended to stack wound ...
    • Toolbox Release Notes | Build 24.1.1001.641

      The following release notes apply to Toolbox build 24.1.1001.641 HBore Toolfile Fix Fig. 1: The location in the Toolfile UI where the error would occur. There was an issue reported with the functionality of the Horizontal Boring Machine setting in ...