L:BLKTXT is a list of all rows from the table specified
by V:BLKTXT.
L:DPVAR is a list of all DPVAR variables and values.
L:DPVARCHGLIST is a list of DPVAR variables and
values that will be reset by the current command. It is set back to
nil when the command is completed normally.
L:FMTDEF is a list of definition data for the current
drawing setup. It is stored with the format as extended data.
L:GEODEF is a list of definition data for the current
L:HATDEF is a list of definition data for the current
hatch pattern used by L:HDWDEF is a list of definition data for the current
hardware item. It is stored with the hardware item as extended data.
L:HOLEDEF is a list of definition data for the current
hole item. It is stored with the hole item as extended data.
L:PASTE_SEGMENT is a list of shaft segment data
that was copied with the shaft editor. It can be pasted over an existing
shaft segment while in the shaft editor.
L:SETVAR is a list of AutoCAD system variables
and values that will be reset by the dp_setvar
function. It is created by the dp_getvar function.
L:SFTDEF is a list of definition data for the current
shaft item. It is stored with the shaft item as extended data.
L:STRING is a list of all rows from the table specified
by V:STRING. The list contains language dependent strings used by
L:SURFDEF is a list of definition data for the current
L:WELDEF is a list of definition data for the current
L:XYDIM is a list of position data for datum dimensioning.
It is used by the XYDIM command.
TBL:table-name is a list containing a database
table. The first element in the list is a list of field names. The
remaining lists are the records.
V:0 is a real number used by the CALC command to
store the last calculated value.
V:ACTSHT is the entity name of the current active
drawing format.
V:BLKTXT is a string indicating the name of a table
that V:BYBLOCK is a string indicating the name of the
English BYBLOCK symbol translated into the current language.
V:BYLAYER is a string indicating the name of the
English BYLAYER symbol translated into the current language.
V:CMDECHO is an integer that can be 0 or 1. It controls
whether nil, the current
setting of CMDECHO will be used. This is a debugging tool.
V:DASHED is a string indicating the linetype to
use for dashed lines in items created by V:DATE is a string indicating the date that the
current drawing was opened. It is set by the dp_date
function.
V:DBCOLNUM is an integer indicating the current
database column number.
V:DBROWNUM is an integer indicating the current
database row number.
V:DBTABLE is a string indicating the current database
table name. It does not include any file extension.
V:DBX is a string indicating the path to any external
V:DCL_ID is an integer indicating that the main
V:DPHELP is a string indicating the default DPHELP
subject. It will change when any V:DPVAR is a string indicating the default DPVAR
subject. It will change when the DPVAR command is used.
V:DPVAR_SYNC is an integer indicating the status
of the DPVAR variables. 0 indicates that the variables are not synchronized
with the drawing. 1 indicates that the variables are synchronized.
When a command is terminated abnormally, DPVAR variables might not
be synchronized. They will resynchronize when the next command is
completed.
V:DWG is a string indicating the path to any external
V:FILE is a file handle indicating that a file is
currently open.
V:FILENAME is a string indicating a file name.
V:GEODIM is a string indicating the default GEODIM
command option.
V:HDWDESCP is a string indicating the name for the field
to use for listing and labeling hardware items. If the value is
nil or the field does not exist, the SIZE field is used.
V:HIDDEN is a string indicating the linetype to use for
hidden lines in items created by V:STRING.
V:ITEM is an integer indicating the last balloon
item number inserted during the current drawing session.
V:LSP is a string indicating the path to any external
V:MNU is a string indicating the path to any external
V:PASTE_STR is a string indicating the current paste
string in the text editor.
V:REPLACE_STR is a string indicating the current
replace-with string in the text editor.
V:SAT is a string indicating the path to any external
V:SEARCH_STR is a string indicating the current
search-for string in the text editor.
V:SFT is a string indicating the path to any external
V:SFT_IN is a string indicating the file name of
the last shaft file imported.
V:SFT_OUT is a string indicating the file name of
the last shaft file exported.
V:SI-MECH_DBMS is a string indicating the database
system being used by V:SLD is a string indicating the path to any external
V:SOL-2D is a string indicating the file name of
the last solid model used for 2D view generation.
V:STRING is a string indicating the name of a table
that V:TAG is a string indicating the default TAG command
option.
V:TILELYR is a string indicating the layer used
when switching between paper space and model space. It is used for
compatibility with SOLVIEW and SOLDRAW.
V:TIME is a string indicating the time that the
current drawing was opened. It is set by the dp_time
function.
V:TXT is a string indicating the path to any external
dp_load.
value as an
angle expressed in radians.
value as
an angle expressed in radians.
angle as
a real, where angle is expressed in radians.
This function creates a solid box with its lower-left corner anchored at the origin of the UCS.
x, y, and z
are the lengths of the box's sides extending along the X, Y,
and Z axes, respectively. If successful, this function returns the
entity name of the solid.
This function creates a cylinder with the center of one end at the origin of the UCS. The cylinder is positioned so that its central axis (height) coincides with the positive Z axis.
rx and ry are the radii
along the X and Y axes. Entering the same value for rx
and ry creates a circular cylinder, while entering
different values results in an elliptical cylinder. h
is the height of the cylinder. If successful, this function returns
the entity name of the solid.
This function creates a new object that is a duplicate of an existing object.
ename is the entity name of the object to duplicate.
If successful, this function returns the entity name of the duplicated
object.
This function creates a solid by extruding (adding height to) a 2D Polyline.
pts is a list of 2D points. If the third coordinate
of any point is 1, that point becomes the endpoint of an arc with
the previous two points being the start point of the arc and a point
along the arc. h is the height of the extrusion
taper is the angle in radians the extrusion sides
will slope in from the axis normal to the plane of the region. If
successful, this function returns the entity name of the extruded
solid.
This function creates a composite solid that is the intersection (common
volume) of two or more solids in selection set ss.
ss can be an entity name, a selection set, or
a list of entity names. If successful, this function returns the entity
name of the composite solid.
This function posts (displays) objects on the current layer of your drawing.
ename is the entity name of the object. If successful,
this function returns T.
This function creates a solid by revolving (rotating) a 2D Polyline about an axis.
pts is a list of 2D points. If the third coordinate
of any point is 1, that point becomes the endpoint of an arc with
the previous two points being the start point of the arc and a point
along the arc. angle is the angle in radians
that the polyline is revolved. axis is a pair
of points that defines the axis of revolution. If successful, this
function returns the entity name of the revolved solid.
This function scales (changes the size of) an object.
ename is the entity name of the object. scalefac
is the value by which the object is scaled and must be a positive
number. point is the base point about which the
object is scaled. If pt is nil,
the point 0,0,0 is used.
If successful, this function returns T.
This function creates a solid sphere. The sphere is positioned with its center at the origin of the UCS.
r is the radius of the sphere and must be a positive
number. If successful, this function returns the entity name of the
solid sphere.
This function creates a solid that is the result of subtracting one set of solids from another.
ss1 and ss2 can be entity
names, selection sets, or lists of entity names. ss2
is subtracted from ss1 to form the resulting
composite solid. If successful, this function returns the entity name
of the composite solid.
rad0 and rad1 are the radii
of the path of revolution and the revolved section. If successful,
this function returns the entity name of the solid.
This function creates a composite solid by joining together two or more solids.
ss can be a selection set or a list of entity
names. If successful, this function returns the entity name of the
composite solid.
assoc function
except that list can contain both atoms and lists.
point
is the insertion point for the balloon. If point
is nil, you are prompted for the insert point. ename
is the name of the entity that the balloon applies to. If ename
is nil, you are prompted to select an entity.
ename for compatibility.
command is the name of the command that is checking
the block. edata is a list of entity definition
data including group codes 8, 10, 50, and 210 data.
value for
dpvar. It returns T if a valid value
is present and nil otherwise.
nil
is returned.
V:CMDECHO.
point.
The rad argument is used when an extended center
mark is required.
new_item.
If old_item is specified, the center mark and
center lines will be deleted from it. This function works with any
hardware, hole, or shaft item.
ename is the entity name of the
item.
col-name
is the name of the new column. value is the value
applied to each cell in the new column.
row-list
is a list of values for the cells in the row. The row is added to
the beginning of the table.
T if col
exists in table, otherwise nil is returned.
value if col
in table contains value,
otherwise nil is returned.
new-col
in table. value is the key
for the col. If no match is found, cell value
of first row is returned.
col-name
in the current table.
new-row
in the current table.
field
name.
value.
table to be current and returns
the table as a list if it exists. If no table is found, or the table
is not valid, the function terminates.
list with element n
deleted.
dp_xrcssi, dp_xrcssia, and
dp_xrcssii functions to draw a screw head recess.
hgt is the overall head height. t-wd
is the recess width at the top of the screw. side
is the side height of the screw head. hd-dia
is the head diameter. dia is the recess diameter.
wd is the recess width. type
is the recess type, either "I", "IA", or "II".
dpvar-list.
If dpvar-list is nil, all variables
will be in the dialogue box. A list of variables and any changed values
is returned.
ename of an bit is 1, the original item is deleted.
V:FILE.
ename is the entity name
of the format to edit. If ename is nil,
a new setup will be created. sdata is a list
of symbol definition data.
ename
is the entity name of a setup to replace. If ename
is nil, a new setup will be created. sdata
is a list of symbol definition data.
tmax
can be an integer or nil. nil
indicates a complete set of points for one tooth segment, 0 indicates
a gear blank, and a larger integer indicates the maximum number of
teeth to show on a gear. pang is the pressure
angle in radians. type can be 0, 1 or a list
of the addendum and dedendum. unit can be either
"IN" or "MM" and must be present for type 0
and 1. unit is used to scale the numbers as well
as set the proper addendum and dedendum.
ename is the entity name
of the symbol to edit. If ename is nil,
a new symbol will be created. sdata is the list
of symbol definition data.
point. option indicates
the type of symbol, such as "DFS", "DTS", "FCF", or "PTS". 72-code
and 73-code correspond to AutoCAD's text
justification group codes. If any argument is nil,
you will be prompted for the missing information.
edata is a list of entity definition data including
group codes 8, 10, 50, and 210. sdata is a list
of symbol definition data.
sdata
is the old symbol definition data. A new data list is returned.
ename.
The string descp limits the search to groups
with a matching description. If descp is nil,
all groups are searched. If none are found, nil
is returned.
nil is returned.
dp_getvar can be restored
with dp_setvar.
group. The string
type limits the search to only certain type is nil, all entities are
returned. If none are found, nil is returned.
ename is the name of the hatch pattern
to edit. If ename is nil, a
new hatch pattern will be created. sdata is a
list of symbol definition data.
ename is the name of the symbol to edit.
If ename is nil, a new symbol
will be created. sdata is a list of symbol definition
data.
edata
is a list of entity definition data including group codes 8, 10, 50,
and 210. sdata is a list of symbol definition
data.
sdata
is a list of symbol definition data for the hardware.
type and returns the name of the database table.
If the specified type cannot be found, nil is returned.
subject.
hex to an integer
and returns the value.
ename is the name of the symbol to edit.
If ename is nil, a new symbol
will be created. sdata is a list of symbol definition
data.
edata
is a list of entity definition data including group codes 8, 10, 50,
and 210. sdata is a list of symbol definition
data.
sdata
is the old symbol definition data. A new data list is returned.
entsel
function if a single entity has been preselected.
nil.
dwg-name
must not contain the path. The insert command continues normally once
the drawing is located. switch can be 0, 1, or
2.int to a hexadecimal
string and returns the value.
view
number from the current view table.
ename.
start and end are the starting
and ending distance along the blocks X axis.
ename.
ename
which can be a hardware or hole item .
item in list. If none are
found, nil is returned.
lsp-file must not contain the path
or extension.
blocks and creates
a new block in the block table using the string new
as the block name.
nil
is returned.
entsel function
except that it switches to model space for object selection. The objects
can be nested items in blocks. prompt can be
nil or a string.
entsel function
except that it switches to model space for object selection. prompt
can be nil or a string.
ss to reflect the current setting of the ITEMSIZE
dpvar variable. If an item is not available in the current size, it
will not be changed.
ss to reflect the current setting of the HDWTYPE
and HOLETYPE dpvar variables. If the item size is not available in
the current type, it will not be changed.
nil
is returned.
string with all leading
and trailing spaces stripped off.
code
string. chr is the character from the ASCII 8
bit character set. The returned value is shifted by page,
a hexadecimal string indicating the code page to use.
point
using parameters set by the system variables HPANG, HPDOUBLE, HPNAME,
HPSCALE, and HPSPACE.
point
is a point inside the boundary to be hatched. sdata
is a list of symbol definition data.
ename that
lies outside of circle, where circle
is the entity name of a circle in the drawing. Some entity types cannot
be trimmed.
descp limits the search to groups with
a matching description. If descp is nil,
all groups are searched. The number of deleted groups is returned.
ename
is the entity name of the object to rotate. angle
is the rotation angle in radians. If successful, this function returns
T.
ename
is the entity name of the object to rotate. angle
is the rotation angle in radians. If successful, this function returns
T.
ename is the entity name of the object to rotate. angle
is the rotation angle in radians. If successful, this function returns
T.
dimstyle is nil
or does not exist, the current dimension style is used.
list of entries as
a temporary script file.
thread
is an optional integer indicating the initial thread setting.
tag is located in
the block ename, this function will set the value
to newvalue.
value.
If the value is not compatible with dpvar, nil
is returned.
ename.
dp_getvar.
If passed a list of AutoCAD system variables, dp_setvar
will try to reset just those in the list. If passed nil,
all variables stored with dp_getvar will be restored.
ename is the name of the symbol to edit.
If ename is nil, a new symbol
will be created. sdata is a list of symbol definition
data.
edata
is a list of entity definition data including group codes 8, 10, 50,
and 210. sdata is a list of symbol definition
data.
sft-file and returns
the data in list form.
shaft can either be the entity name of
a shaft or shaft symbol definition data. When a feature is selected
in the dialogue box, the definition data for that item is returned
along with the quantity present in the shaft. types
is a list of strings for the type of features to display. Valid strings
are "GEAR", "HDW", "HOLE", "KWY", "PUL", "REC", "SEG", "SFT", "SPLN",
"SPRKT", and "THD".
sld-name.
If no file is found, the slide name to load from the sol. qty
is the number of items and ang is the angle between
each item. This function returns the entity name of the created solid.
hgt
is the Z coordinate of the start of the recess. This function returns
the entity name of the created solid.
hgt
is the Z coordinate of the start of the recess. ang
is the included angle in degrees. This function returns the entity
name of the created solid.
hgt
is the Z coordinate of the start of the hole. This function returns
the entity name of the created solid.
dp_gear_pts for
more information on the function arguments.
pts
is a list of points describing the profile of the screw head. unit
is either "IN" or "MM". thd-lg is the length
of the threaded portion. If thd-lg is nil,
the thread length is calculated. lg is the screw
length. This function returns the entity name of the created solid.
hgt
is the Z coordinate of the start of the recess. This function returns
the entity name of the created solid.
hgt
is the Z coordinate of the start of the recess. edge
is the height of the edge of the slot at the full diameter. This function
returns the entity name of the created solid.
dp_sol_hdw_i
for information on the arguments.
dp_sol_hdw_i
for information on the arguments.
hgt
is the Z coordinate of the start of the recess. This function returns
the entity name of the created solid.
hgt is
the Z coordinate of the start of the recess. This function returns
the entity name of the created solid. See the dp_spln_pts
function for an explanation of the other arguments.
edata
is a list of entity definition data including group code 8 data. sdata
is a list of symbol definition data. command
is the name of the command that is posting the solid.
ss. If 3d is 0, 2D wire
frame entities are returned, while 1 indicates 3D wire frame entities.
If tan is 1, tangent lines are included. The
list returned contains two sublists, a solid line list and a hidden
line list.
sat-file.
hgt is
the Z coordinate of the start of the tap. pitch
is the pitch distance. This function returns the entity name of the
created solid.
list of items sorted
numerically or alphabetically.
pts
list. view is an integer for the view, 2 or 3.
bottom and top are the Z
coordinates for the start and end of the spline.
flutes is the number of flutes, dia1
is the overall diameter, dia2 is the minor diameter,
and wd is the width of the flutes.
tmax
can be an integer or nil. nil
indicates a complete set of points for one tooth segment, 0 indicates
a sprocket blank, and a larger integer indicates the maximum number
of teeth to show on a sprocket.
V:BLKTXT, with string
containing an integer that is the key to the table and having the
following form:"@INTEGER,TEXT,TEXT..."V:STRING, with integer
being the key to the table. If V:STRING is nil,
string is returned. list
is an optional list of text strings that will be merged with string.
strings for
line break control codes. The control codes are removed and an expanded
list of strings is returned.
list with string.
string has the following form:"Column %0, row %1"list to merge into the string. For the previous
example, list would contain two strings indicating
the column and row such as:("two" 3)string for the delimiter
string and returns a list of strings broken at the delimiter.
string converted to a value
of the same type as value.
string
for the specified style. The width assumes a
height and width factor of one. If no valid style is found, nil
is returned.
style
does not exist, one is created.
new-value substituted
for the nth item in the original list.
ename is the entity name of the
symbol to edit. If ename is nil,
a new symbol will be created. sdata is the list
of symbol definition data.
point.
If point is nil, you will be
prompted for an insert point.
edata
is a list of entity definition data including group codes 8, 10, 50,
and 210. sdata is a list of symbol definition
data.
ename. If ename
is nil, you will be prompted to select an object.
ss
to the current settings of applicable DPVAR variables and AutoCAD
system variables.
dwg-name
must not contain the path or extension.
ename
is the entity name of the object to translate. x,
y, and z are the distances
the object will be moved on the X, Y, and Z axes of the UCS. If successful,
this function returns T.
list is a list of strings
that will be displayed in the dialogue box. If list
is nil, the dialogue box is initially empty. If
bit is 1, the number of lines to be edited cannot
be changed.
list
is a list of strings to create. group_codes is
a list of group codes indicating the style, justification, and insert
points. They includes codes 7, 10, 11, 72, and 73. If group_codes
is nil, the dp_txt_set function
will be called, prompting you for the necessary information. other_codes
is an optional list of any other group codes that will be used to
create the text.
sld-name
must not contain the path or extension.
ename is the entity name of the symbol
to edit. If ename is nil, a
new symbol will be created. sdata is the list
of symbol definition data.
point.
If point is nil, you will be
prompted for an insert point. 72-code corresponds
to AutoCAD's text justification group code and can be 0 or
2.
edata
is a list of entity definition data including group codes 8, 10, 50,
and 210. sdata is a list of symbol definition
data.
list describes
an object to clip and has one of the following formats:lower and upper are the
lower and upper X coordinate clip limits.(dp_x_clip '("LINE" (1.0 1.0) (2.0 1.0)) 1.5 1.75)((("LINE" (1.5 1.0) (1.75) 1.0))) (("LINE" (1.75
1.0) (2.0 1.0)) ("LINE" (1.0 1.0) (1.5 1.0))))(("REGAPP1" (1000 . "abc")...) ("REGAPP2" (1000 . "abc")...))dp_xdata_append will first register
the application name and then append the data to the entity. The unregistered
data would have the following form:("NONREG" (1000 . "abc")...)
sdata list of items,
limited to strings, integers, and reals, and will return a list of
extended data formatted for (dp_xdata_fmt '("{" 1.00 3 "TEST" "}"))("SI-MECH" (1040 . 4.12) (1002 . "{") (1040 . 1.000)(1070
. 3) (1000 . "TEST) (1002 . "}"))
nil
is returned.
nil
is returned.
nil
is returned.
start
to point end. The offset is controlled by the
XLINEO DPVAR variable and the DIMEXO AutoCAD system variable.
hgt
is the height of the screw head. hgt is 0 for
a front view. dia is the recess diameter. width
is the recess width. dp is the Z coordinate
of the bottom of the recess. edge is the height
of the edge of the recess at the full diameter. top
is the Z coordinate for the highest portion of the slot. dome
is a list of the form returned by the dp_dome
function.
dp_xrcssi
for information on the arguments.
dp_xrcssi
for information on the arguments.
point.
type can be either "X" or "Y". The dimension
will be located at point location. list
is a list of points where the extension line will jog. If pt,
location, or list is nil,
you will be prompted for the missing information. If location
is 0 and the global list L:XYDIM has been set, the
location will be taken from L:XYDIM. If list
is 0, the extension line will be straight.