Jump to content

how to divide blocks no of blocks in 3d autocad taking coordinates data from Excel using lisp\ VBA


Recommended Posts

Posted

Hi, 

i am searching all sites from last 2 days for this i have a 2d autocad drawing with no of blocks in it and they were exploded and added new lines in order to make one dynamic block into no of small blocks now i am having a task to use the coordinates information from 2d drawing to Excel and then i need to split the dynamic block into no of blocks according to Excel and need to insert the block names i.e., main block name and nested block names in side that block.

if anyone can help that will be a great appreciation.

Thanks in advance  

Posted (edited)

I found this go down to Cabs code there is a line

 ;;;          (setq lst (cons name lst)) un remark it

rem this one   (setq lst (cons (cdar (ATT:GETS (vlax-vla-object->ename obj))) lst))

no gurantee and un tested.

 

Ps took 2 minutes to find. Searched "get nested block names"

Edited by BIGAL
Posted

thank you bigal i will search for that thanks once again for guiding me.

 

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...