.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get current Layout

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
560 Views, 2 Replies

Get current Layout

I need the plotsettings form the active/current layout.

Can anyone show me how to fetch the current layout?

Regards Claus
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Autodesk.AutoCAD.DatabaseServicces.LayoutManager.CurrentLayout

wrote in message news:5697099@discussion.autodesk.com...
I need the plotsettings form the active/current layout.

Can anyone show me how to fetch the current layout?

Regards Claus
Message 3 of 3
Anonymous
in reply to: Anonymous

This will get you the current layout id:

' Get the current layout id
Dim oLayoutID As ObjectId = LayoutManager.Current.GetLayoutId(LayoutManager.Current.CurrentLayout)

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

Post to forums  

Forma Design Contest


Autodesk Design & Make Report