Download the XP here!!
Wow, 21 commands!! But 16 of them are for selecting objects...
Selecting byt type and other methods
FastCAD dosen't allow you to select entities by type from the macro language. Here is a set of commands to build a selection that can be used with SELBYP later. The commands are:
- MSELT - Select by type
- MSELC - Select by color
- MSELL - Select by layer
- MSELLS - Select by line style
- MSELFS - Select by fill style
- MSELOT - Select (logical or) by type
- MSELOC - Select (logical or) by color
- MSELOL - Select (logical or) by layer
- MSELOLS - Select (logical or) by line style
- MSELOFS - Select (logical or) by fill style
- MSELAT - Select (logical and) by type
- MSELAC - Select (logical and) by color
- MSELAL - Select (logical and) by layer
- MSELALS - Select (logical and) by line style
- MSELAFS - Select (logical and) by fill style
- MSELPATH - Select paths (not polys)
The select by type commands ask you for the object type as a number. This number corresponds to the internal database number of each entity type.
1 - Point
2 - Line
3 - Path
4 - XP
5 - Text
6 - Circle
7 - Arc
8 - Ellipse
9 - Elliptic arc
10 - Action text
14 - 3D Line
15 - 3D Path
17 - Multipoly
18 - Group
20 - Linear dimension
21 - Angular dimension
22 - Circular dimension
23 - Ordinate dimension
28 - Symbol definition
29 - Symbol reference
30 - Text attribute
40 - XREF
Random numbers
Use RANDOMINIT to initialize the random number generator and then the command RANDOM will give you random numbers between 0 and 1. RANDOM works like GP that you will have to give a macro variable that should contain the value.
Square root
The command SQRT returns the square root of a value. You are asked for the macro variable (to contain the calculated value) and a value.
Extract a number
The command NUMEXTR extracts a number from a text string. You are asked for the macro variable (to contain the number) and a string.
ASCII codes
The command CHR returns the character for a given ASCII code.
Get extents
The command GEXT returns the extents for selected entities.
Installation
Download and run the installation file. Be sure to give your FastCAD32 or EasyCAD32 folder when prompted for the installation directory. The commands will automatically be available for use the next time you start your CAD-program. To see a list of available commands, type XPCFG at the command prompt, or select [Specs > Installed XPs...] from the Main menu.
WARRANTY AND LICENSE AGREEMENT
This software requires a legal copy of FastCAD or EasyCAD.
WARRANTY: This software is provided "as is" without
any warranties or conditions whatsoever.
PK Data is not liability to any degree what so ever. In no event will PK Data or its distributors be responsible for any direct, indirect or consequential damages that arise from use of this software, or its failure to perform any of its intended functions.
LICENS AGREEMENT: PK Data grants you the right to install and use this software on as many computers as you wish. You are free to distribute this module to others as long as no charge is included.
You may not rent or lease this software and you may not decompile or disassemble this software.