Overview | Statement List | Example


党蜊⑻盄僇

Synopsis

VDEDIT/obj list[,param1,param2][,{COLOR,c|FONTN,'fontname'|FONT,f|DENS,d|LWIDTH,w}][,'view name']

Description

Edits the color, font, and/or line width of a previously defined object in the specified view. The entire object or parameter sections of an object may be edited. You can edit any number of objects using the same parameters in a single VDEDIT statement.

If you want to modify sections of a curve, you must enter the start and end parameters of the edit. The curve is parameterized along its length from zero to one. Zero represents the beginning of the curve as it was created, and one represents its end. Therefore, any value used must be between zero and one.

For example, if you want to modify the middle third of a curve, the starting parameter is .33 and the ending parameter is .66. It is not valid to extend a curve by entering a value outside of this range (e.g., -.25 or 1.25 produces an error).

Parameters

Parameter

Description

obj list

A list or array of previously defined objects which are to be erased from the view.

param1,param2

Two numerical values or variables which represent the beginning and ending parameters of the view dependent modification.

COLOR

Minor word which indicates that the color of the object or objects are to be modified.

c

A numerical value or variable which represents the color number to change the curve segment to. The color that the color number represents is defined in the current color table.

NOTE: If you are using the default Unigraphics color table, these are the same values used with the GPA &SYSCLR and the EDA &COLOR(ent) as shown as follows.

1 每 Blue
2 每 Green
3 每 Cyan
4 每 Red
5 每 Magenta
6 每 Yellow
7 每 White
8 每 Olive
9 每 Pink
10 每 Brown
11 每 Orange
12 每 Purple
13 每 Dark Red
14 每 Aquamarine
15 每 Gray

FONTN

Minor word which indicates that the font name is to be changed for the curve segment.

'font name'

A string or string variable which represents the name of the font to change the curve segment to. (To specify an invisible font, you must use the minor word FONT.)

FONT

Minor word which indicates that the following field modifies the font of the object or objects.

f

A numerical value or variable which represents the font number to change the curve segment to. The valid font numbers are as follows:

0 每 Invisible
1 每 Solid
2-7 每 Other Font

NOTE: Except for Invisible, these are the same values used with the GPA &FONT and the EDA &FONT(obj).

DENS or LWIDTH

Minor words which indicate that the following field modifies the line width of the object or objects.

d or w

A numerical value or variable which represents the line width number to change the curve segment to. The valid line width numbers are as follows:

1 每 Normal
2 每 Thick
3 每 Thin

NOTE: These are the same values used with the GPAs &LWIDTH and &SDENS, and the EDAs &LWIDTH(obj) and &DENS(obj).

'view name'

A string or string variable which represents the name of an existing view where the view dependent edit takes place.


Copyright ©2015 綸澱NX媼棒羲楷夥厙ㄗwww.UGapi.comㄘ QQ:85585969 All Rights Reserved.