Jump to content

Recommended Posts

Posted (edited)

Hello

I have a problem with the interpretation of the codes insert group (10 50 210)

Can you explain graphically what each of the data codes.

 

((-1 . ) (0 . INSERT) (5 . 8CF95) (330 . ) (100 . AcDbEntity) (67 . 0) (410 . Model) (8 . 3dlayer) (100 . AcDbBlockReference) (2 . 3dblock1) (10 46103.6 -13732.2 73359.9) (41 . 1.0) (42 . 1.0) (43 . 1.0) (50 . 0.0) (70 . 0) (71 . 0) (44 . 0.0) (45 . 0.0) (210 1.0 -6.12323e-017 0.0))

 

I'm not sure if it's possible but I would like to have all facilities were inserted in the global coordinate system.I wanted to write a function that will do it for all blocks.

Edited by jan_ek
Posted

You need to look up DXF codes they vary dpending on the object but some items are always the same,

O = Object type insert lien arc

10 = most times is a point, line-start insertpt

11 =most times is a point,line-end insertpt

8 = Layer

just a suggestion using VL and Dumpit.lsp will display the item in a more descriptive manner

Select object:

; IAcadBlockReference: AutoCAD Block Reference Interface

; Property values:

; EffectiveName (RO) = "DA1DRTXT"

; EntityTransparency = "ByLayer"

; Handle (RO) = "D998"

; HasAttributes (RO) = -1

; HasExtensionDictionary (RO) = 0

; InsertionPoint = (0.0 0.0 0.0)

; InsUnits (RO) = "Unitless"

; InsUnitsFactor (RO) = 1.0

; IsDynamicBlock (RO) = 0

; Layer = "DRGTEXT"

; Linetype = "ByLayer"

; LinetypeScale = 1.0

; Lineweight = -1

; Material = "ByLayer"

; Name = "DA1DRTXT"

Posted

Ok indeed description is more readable, thanks.

So now I have a question which values (and how) to be converted to "Rotation" was equal to 0 and the object has not changed its position.

Posted

Hello again

 

 

 

 

unfortunately still do not understand what the codes 50 and 210. This is the same block inserted in the global coordinate system and when rotated coordinate system. The code value 10 does not seem to change, but change codes 50 and 210. How to convert their value to the global system. I'd like to convert all blocks to the global system. Can you explain to me the meaning of these codes in a graphical manner.

 

 

 

Select entity: ((-1 . ) (0 . INSERT) (5 . C4C53) (330 . ) (100 . AcDbEntity) (67 . 0)

(410 . Model) (8 . 3d) (100 . AcDbBlockReference) (2 . 3dtest) (10 83981.0 29657.0 -7.27596e-012) (41 . 1.0) (42 . 1.0)

(43 . 1.0) (50 . 6.28319) (70 . 0) (71 . 0) (44 . 0.0) (45 . 0.0) (210 6.12323e-017 2.44929e-016 1.0))

 

 

Select entity: ((-1 . ) (0 . INSERT) (5 . C4C50) (330 . ) (100 . AcDbEntity) (67 . 0)

(410 . Model) (8 . 3d) (100 . AcDbBlockReference) (2 . 3dtest) (10 83981.0 29657.0 0.0) (41 . 1.0) (42 . 1.0) (43 . 1.0)

(50 . 0.0) (70 . 0) (71 . 0) (44 . 0.0) (45 . 0.0) (210 0.0 0.0 1.0))

Posted

DXF Group 210 represents the extrusion vector or normal vector of the plane in which the block is inserted (that is, a vector perpendicular to all vectors in the plane); DXF Group 50 represents the rotation (in radians) of the block reference in this plane, measured anticlockwise from the x-axis. If you are looking for a graphical explanation, perhaps refer to this thread (requires Swamp membership to view).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...