Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Model View from Block VLISP

1 REPLY 1
Reply
Message 1 of 2
Anonymous
294 Views, 1 Reply

Model View from Block VLISP

HI, I'm trying to create something great VLISP app that extracts an attribute and verticies for each instance of a selected block and creates a model view based on those inputs. This is my first attempt at a VLISP app, and I know there is a lot missing, so I'll explain the logic I have behind my idea.

 

Let's say there's a drawing populated with a block that has multiple visibility states for differnt size viewports and an attribute to label your sheet number. Once they are laid out, you run this app and it prompts you to select the "viewport block" that is placed. The app extracts the block name and for each instance it extracts the attribute name (sheet number) and verticies of the extents for the viewport. You will need to add the insertion point to the vertices, so that will have to be extracted as well. The app will then run the VIEW command to make a model view with the extracted data from each block.

 

I'm lost in stupid parenthesis and need some help. Thanks.

Tags (2)
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Here's an attempt with DXF

Tags (2)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report