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 the appropriate tab will allow you to modify each of the following 2D drawings.
Selecting a tab will display the drawing tokens. Selecting a drawing token will display the parameters for the drawing token.
Below is the list of available tabs that you can add drawing tokens.
Metafile instruction enables you to create a custom metafile that will be stored in the database that you can use for reports. If there is no information in this area, Toolbox will use the default metafile associated with the library product. You can also use the Make Windows Metafile command to create a custom metafile from the drawing.
Plan view allows you to change how the product will be drawn when using 2D Drawings drawing preference in the options. By adding a drawing token to this list, you will remove the dashed box that gets drawn by default when drawing in 2D. You'll need to add a drawing token that adds this box back in if desired.
This is the default 2D plan view.
The Elv View tab allows you to add drawing tokens to the elevation view of a product drawn in 2D. Adding drawing tokens to this section will add those drawing tokens to the parts already setup to draw in 2D, based on the information set up in the Drawing Tokens tab.
Drawing tokens added to the cross-section tab will be drawn when creating a cross-section of a product. From the Product Sections window, you have the option to add the drawing token to the section, use just the drawing tokens, or use none of the drawing tokens.
Drawing tokens added to the elv section tab will be drawn when creating an elevational section of a product. From the Product Sections window, you have the option to add the drawing token to the section, use just the drawing tokens, or use none of the drawing tokens.
Drawing tokens added to the plan section tab will be drawn when creating a plan section of a product. From the Product Sections window, you have the option to add the drawing token to the section, use just the drawing tokens, or use none of the drawing tokens.
The FaceFrame tab allows you to create an additional metafile for the product, just like the metafile tab. Many of the default libraries use this set of instructions to create an assembly metafile for the face frame, but if necessary, you can use it for anything. Just note that the metafile picture is stored in the FaceFrameImages table in the MicrovellumWorkOrder.sdf database file.
The tokens listed below are the available drawing tokens that 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.
Will draw a single line based on the parameters.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - End X
Parameter 4 - End Y
Parameter 8 - [Comment]
Parameter 9 - [Layer name] | [Color]
Will draw a single curved line based on the parameters
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - End X
Parameter 4 - End Y
Parameter 5 - Center X
Parameter 6 - Center Y
Parameter 8 - [Comment]
Parameter 9 - [Layer name] | [Color]
Will draw a polyline that can contain multiple vector points.
Parameter 1 - Point List - Format: 0;0|10;10
Parameter 2 - [Bulge List] - Format: 0|0
Parameter 8 - [Comment]
Parameter 9 - [Layer name] | [Color]
Will draw a rectangle.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - Width
Parameter 4 - Height
Parameter 8 - [Comment]
Parameter 9 - [Layer name] | [Color]
Will draw a circle.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - Radius
Parameter 8 - [Comment]
Parameter 9 - [Layer name] | [Color]
Will add a dimension based on the parameters
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - End X
Parameter 4 - End Y
Parameter 5 - Leader Length
Parameter 6 - [Dimension Text]
Parameter 7 - [Dim Style]
Parameter 8 - [Comment]
Parameter 9 - [Layer name] | [Color]
Allows you to add text based on the parameters.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - [Angle]
Parameter 6 - Text
Parameter 7 - [Text Style] | [Text Alignment]
Parameter 8 - [Comment]
Parameter 9 - [Layer name] | [Color]
Will draw an arrow based on the parameters.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - End X
Parameter 4 - End Y
Parameter 5 - Arrow length
Parameter 6 - Arrow width
Parameter 8 - [Comment]
Parameter 9 - [Layer name] | [Color]
Will add an AutoCAD drawing file from the MicrovellumGraphics.sdf database file.
Parameter 1 - Insert Position X
Parameter 2 - Insert Position Y
Parameter 3 - File Name
Parameter 4 - [Rotation]
Parameter 5 - [Scale factor]
Parameter 8 - [Comment]
Parameter 9 - [Layer name] | [Color]
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.
Parameter 1 - Hatch pattern
Parameter 2 - [Hatch angle]
Parameter 3 - [Hatch scale]
Parameter 8 - [Comment]
Parameter 9 - [Layer name] | [Color]
The drawing tokens listed below are used specifically for the tokens added to the metafile or face frame tab. Please note that parameters in brackets are optional, and some parameters allow for multiple sets of information, each separate by the pipe symbol. Not all drawing tokens use every column available.
The papersize token must always be the first token in any set of metafile instructions. This will define the size of the metafile.
Parameter 1 - Paper width
Parameter 2 - Paper height
Parameter 3 - Origin
Will draw a single line.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - End X
Parameter 4 - End Y
Parameter 8 - [Comment]
Parameter 9 - Line weight | Line Type | Color
Will draw a single arced line.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - End X
Parameter 4 - End Y
Parameter 5 - Center X
Parameter 6 - Center Y
Parameter 8 - [Comment]
Parameter 9 - Line weight | Line Type | Color
Will draw a polyline that can contain multiple vector points.
Parameter 1 - Point list - Format: 0;0|10;10
Parameter 2 - [Bulge list] - Format: 0|0
Parameter 8 - [Comment]
Parameter 9 - Line weight | Line Type | Color
Will draw a rectangle.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - Width
Parameter 4 - Height
Parameter 8 - [Comment]
Parameter 9 - Line weight | Line Type | Color
Will draw a circle.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - Radius
Parameter 8 - [Comment]
Parameter 9 - Line weight | Line Type | Color
Will add a horizontal dimension.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - End X
Parameter 4 - Dim Y
Parameter 6 - Dimension Text
Parameter 7 - Text Font | Text Size | Text Color
Parameter 8 - [Comment]
Parameter 9 - Line weight | Line Type | Color
Will add a vertical dimension.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - End Y
Parameter 4 - Dim X
Parameter 6 - Dimension Text
Parameter 7 - Text Font | Text Size | Text Color
Parameter 8 - [Comment]
Parameter 9 - Line weight | Line Type | Color
Will add text.
Parameter 1 - Start X
Parameter 2 - Start Y
Parameter 3 - Angle
Parameter 6 - Text
Parameter 7 - Text Font | Text Size | Text Color | Text Alignment
Parameter 8 - [Comment]
In some of the parameters of the tokens, the program will call out for a color. Use one of the following numbers for the value.
0 = Black
1 = Red
2 = Yellow
3 = Green
4 = Cyan
5 = Blue
6 = Magenta
7 = Black
in some of the parameters of the tokens, the program will call out for a pen style. Use one of the following numbers for the value.
0 = Solid
1 = Dashed
2 = Dot
3 = DashDot
4 = DashDotDot
In some of the parameters of the tokens, the program will call out for a font. Use one of the following numbers for a value.
1 = Arial
2 = Courier
3 = Courier New
4 = Fixedsys
5 = Marlett
6 = Modern
7 = MS Sans Serif
8 = MS Serif
9 = Small Fonts
10 = Symbol
11 = System
12 = Terminal
13 = Times New Roman
In some of the parameters of the tokens the program will call out for a text alignment. Use one of the following numbers for the value.
0 = Left
1 = Center
2 = Right