Has anyone else run into this same problem with AutoCAD 2012, where you can't get the ActiveLayout.Name property from a Windows 64bit OS? This code only seems to work in 32bit OS. Anyone know of another way to get ActiveLayout in 64bit?
In this example code,using the following namespace:
Code example, but does not work in 64bit OS:
AcadDocument acadDOC = (AcadDocument)(openedSheet.AcadDocument);
if (acadDOC != null)
layoutName = acadDOC.ActiveLayout.Name;
Access a broad range of knowledge to help get the most out of your products and services.