Explode a block after insert in the drawing

Explode a block after insert in the drawing

zsolti_sdd
Enthusiast Enthusiast
406 Views
1 Reply
Message 1 of 2

Explode a block after insert in the drawing

zsolti_sdd
Enthusiast
Enthusiast

hy 

how can i explode the block, in my case "a4" ,after i insert in the drawing.

 

.......

Dim explodedObjects As Variant
Dim explodable As Boolean

Dim origin(0 To 2) As Double 

origin(0) = -268.671: origin(1) = -1409.2798: origin(2) = 0  'inseration coordinates
p1 = origin 

 

ThisDrawing.ModelSpace.InsertBlock p1, "a4", 1, 1, 1, 0, 0  ' insert the block

 

but the explode code ?????

 

 

 

 

 

0 Likes
407 Views
1 Reply
Reply (1)
Message 2 of 2

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

look to that method >>>click<<< which shows the function to get the (exploded) entities of a blockreference.

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes