Overview | Statement List


定义符号

Synopsis

UDFSYM/'symbol_name',['filespec',]point1,point2,obj list[,factor] [,IFERR,label:]

Description

Allows you to define a symbol and store it in an SBF file

Parameters

Parameter

Description

symbol_name

Specifies a symbol name in the SBF file.

filespec

The name of the SBF file where the symbol is stored. If this parameter is omitted, the symbol is created in the current SBF file.

obj list

The list of lines and/or text objects which represent the symbol geometry.

point1, point2

The two connection points. The second connecting point specified is adjusted up or down so that both connecting points are horizontal. The point on the left is called the anchor point. The point on the right is called the orientation point.

The anchor point is used as a reference point for positioning the symbol in drafting. Both connecting points are used to connect lines in drafting, or to connect other elements in line fonts.

factor

The symbol factor used in line font display (the default is 0).

IFERR,label:

Specifies a label to which program execution jumps if an error occurs. If an error occurs, the font is not changed and the current font definition is still in effect.


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.