Can anybody help?
I need, using a macro, the ability to pre set the file that I am going to use as a "Base View" on a IDW file.
Say I call the ipt file "FRED.IPT", when I run the macro, it opens a new clean idw sheet and pre-sets the "Base View" to "FRED.IPT".
or
Automatically open a clean idw sheet and place the file "FRED.IPT" on the sheet, automatically.
Is this possible?
Many thanks in advance!!!
IsoCAM
I believe you should try DrawingViews.AddBaseView method to create base view for the given model document
DrawingViews.AddBaseView(
Model As Document,
Position As Point2d,
Scale As Double,
ViewOrientation As ViewOrientationTypeEnum,
ViewStyle As DrawingViewStyleEnum,
[ModelViewName] As String,
[ArbitraryCamera] As Variant,
[AdditionalOptions] As Variant ) As DrawingView
This method is illustrated by “Create base view with representations” code sample in the API Help.