• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language
Home > Support > Vba API > Visual Basic Reference > Reference Guide > Properties > EntityType Property 

EntityType Property

EntityType Property

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

EntityType property example

 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.