Visual LISP, AutoLISP and General Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Insert a block in a specific layout with vla-insert block
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
66 Views, 3 Replies
01-28-2012 10:56 AM
Hello everyone,
I would like to insert a block in a specific layout (eg. "LAYOUT13") using the function
vla-insertblock
I have already searched the web and this newsgroup but have not found the solution.
Can you help?
thanks
Re: Insert a block in a specific layout with vla-insert block
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2012 07:41 PM in reply to:
Lupo76
Lupo76 wrote:Hello everyone,
I would like to insert a block in a specific layout (eg. "
using the function
vla-insertblockI have already searched the web and this newsgroup but have not found the solution.
Can you help?
thanks
(vlax-invoke
(vlax-get
(vla-item
(vla-get-layouts
(vla-get-activedocument
(vlax-get-acad-object)))
"LAYOUT13")
'block)
'InsertBlock
'(0.0 0.0 0.0)
bname
1
1
1
0)HTH
Re: Insert a block in a specific layout with vla-insert block
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2012 11:40 PM in reply to:
pbejse
is just what I wanted!
Thank you!!
Re: Insert a block in a specific layout with vla-insert block
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-29-2012 03:18 AM in reply to:
Lupo76
Lupo76 wrote:is just what I wanted!
Thank you!!
Well good for you Lupo
Gald i could help

