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

Copy contents of tab, lisp

3 REPLIES 3
Reply
Message 1 of 4
idragonb
402 Views, 3 Replies

Copy contents of tab, lisp

Hello all,

 

I am programming in lisp and I have copied a tab from a template file into the current file - I used

 

(vlax-get-property layout 'Name)                              ; from template

(vlax-invoke-method layouts 'Add layname)              ; to current drawing

(vlax-invoke-method nlayout 'CopyFrom layout)        ; copies properties (I think)

 

and now I would like to copy the border and any other objects in that tab but I'm stumped.....

 

The items are in the 'Block property of the layout but a simple put-property does not work - what am I missing?

 

Any suggestions?

 

Thanks,

Michael

Flow state:
Maximum challenge with maximum skills.
3 REPLIES 3
Message 2 of 4
pendean
in reply to: idragonb

Message 3 of 4
idragonb
in reply to: pendean

ok, sory, thanks
Flow state:
Maximum challenge with maximum skills.
Message 4 of 4
dmfrazier
in reply to: idragonb

"...and now I would like to copy the border and any other objects in that tab..."

 

Ignoring the fact that this question would probably be better posted elsewhere (as previously "suggested"), it seems to me that if you copy a tab from a template file into the current file, you get everything that's in/on that tab.  So, if the border and other objects you're interested in are already in/on the tab, there's nothing more to do. 

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

Post to forums  

Autodesk Design & Make Report

”Boost