.NET

Reply
Valued Contributor
Torokze
Posts: 77
Registered: ‎06-20-2004
Message 1 of 2 (218 Views)

.NET LayoutManager CopyLayout/CloneLayout difference

218 Views, 1 Replies
06-27-2012 10:04 AM

Hi,

 

What is the difference between LayoutManager.CopyLayout and LayoutManager.CloneLayout ?

How they behave?

 

In ObjectARX there is an AcApLayoutManager.updateLayoutTabs() .

Is there a similiar function in .NET ?

 

Regards,

Zoltán

Distinguished Contributor
Artvegas
Posts: 104
Registered: ‎04-21-2011
Message 2 of 2 (189 Views)

Re: .NET LayoutManager CopyLayout/CloneLayout difference

07-01-2012 09:41 AM in reply to: Torokze

As far as I can tell the only difference is that you can specify a placement index using the clone method, whereas the copy method will place the tab at the end (i.e. to the right).

 

Unfortunately it doesn't seem like AcApLayoutManager.updateLayoutTabs() has been exposed to .NET. However I have found that an Editor.Regen() statement seems to refresh the tabs nicely.

 

Art

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.