Page 1 of 1
Layouts.
Posted: Mon Aug 29, 2005 7:33 am
by maynard
How do I access layouts in IntelliCAD? I understand that some of them are stored in the block collection as "Paper_Space0", 1,2,.......... but how do I acess the layout name, set one as current etc.
Posted: Tue Aug 30, 2005 2:24 am
by John Finlay
Sub TestLayouts()
Dim Layt As Layout
Dim myLat As Layout
' Loop through the layouts in the active drawing
For Each Layt In ThisDocument.Layouts
MsgBox Layt.Name
Next Layt
' Set Up A New Layout
Set myLat = ThisDocument.Layouts.Add("Layout3")
End Sub
------------------
Regards
John Finlay
Posted: Tue Aug 30, 2005 6:11 am
by maynard
i am using the SolidWorks DWGEditor which is a version of IntelliCAD. it does not recognize Layouts.
Posted: Tue Aug 30, 2005 7:25 pm
by ssc
I have version 5 of Intellicad which does not have Layout in the object model (at least I do not think so).
ssc
Posted: Wed Aug 31, 2005 3:32 am
by John Finlay
maynard & ssc,
Sorry,
I have ICAD 6 and the Object Model has changed in this version from 2000 to 2004.
I posted a while back that there are some changes to the Object Model and listed the new Objects included.
There is still some work to be done on the new Objects such as the Dictionary Object.
Looks like the Group Object is functioning and off course the Layout Object.
------------------
Regards
John Finlay