EntityType property

Returns the type of entity for a selected object. The property is returned as an integer value, as shown in the table below.

 

Syntax

integerVariable = object.EntityType

Where:

     integerVariable is a variable for storing the entity type value.

     object is a valid entity object.

 

Entity Types Value

Attribute

4

AttributeDef

5

BlockInsert

6

Circle

7

Dimension (3-pt Angular)

8

Dimension (Aligned)

9

Dimension (Angular)

10

Dimension (Diametric)

11

Dimension (Ordinate)

12

Dimension (Radial)

13

Dimension (Rotated)

14

Hatch

9

3dFace

1

3dPoly

2

Arc

3

Ellipse

15

ExternalReference

16

Hatch

17

Image

18

InfiniteLine

19

Leader

20

Line

21

LWPolyline

22

Mtext

23

PointEntity

24

PolyfaceMesh

27

PolygonMesh

26

Polyline

25

Pviewport

28

Ray

29

Solid

30

Spline

31

Text

32

Tolerance

33

Trace

34

UnknownEntity

0

 

Examples...

EntityType property example

 


Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved.