Overview | Statement List | Example 1 | Example 2


类别选择

Synopsis

MASK/{ALL|NONE|[OMIT,],obj type list}

Description

Changes the selectable status associated with a particular object type to valid or invalid.

The MASK statement can be used to make only certain objects selectable by their object type. For example, you may want to delete all objects except lines. No matter what the lines are named (even if they are not named) they can be made non-selectable by their object type.

ENTITY/PT1,CR(2),L(3),LN1,L1
PT1=POINT/0,0
CR(1)=CIRCLE/1,1,.5
CR(2)=CIRCLE/2,2,1
LN1=LINE/0,0,1,1
L(1)=LINE/2,2,3,3
LINE/3,4,1,6
MASK/OMIT,3
DELETE/ALL

Parameters

Parameter

Description

ALL

Minor word that indicates that all of the object types in the database are valid and selectable.

NONE

Minor word that indicates that all of the object types in the database are invalid and not selectable.

OMIT

Minor word that indicates that all of the following object types in the database are invalid and not selectable. If the minor word OMIT is not used, only those object types included in the list are valid and selectable.

obj type list

A list of object types. See the following table for allowed object type values.

Object Type

Value

Point

2

Line

3

Circle

5

Conics

6

B-Curve

9

Pattern

10

Boundary

14

Groups

15

Cylindrical face

16

Conical face

17

Spherical face

18

Revolved face

19

Extruded face

20

Planar face

22

Blend face

23

Drafting Object

25

Dimension

26

Margin

29

B-Surface face

43

Coordinate System

45

Plane

46

Component

63

Offset surface face

65

Foreign surface face

66

Solid or sheet body

70

Face

71

Edge

72

Datum Axis

196

Datum Plane

197

Section Edge

199

Silhouette

201

Section Line

202

NOTE: Types 16-20, 22, 43, 65, and 66 are special cases of face (type 71). Cylindrical, conical, etc., solid and sheet bodies correspond to type 70. For example, type 16 corresponds to the cylindrical face of a solid cylinder, or the face of a cylindrical sheet body, and not to the solid (or sheet body) cylinder itself, which is type 70.


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