How to access section properties using scripting??
How to access section properties using scripting??
(OP)
I want to access properties of section view using scripting like its name ident i.e. F for section F-F and scale (to add it later to text box).
As i couldn't find any method in object tree.method name returns full name.Is there any way to access only ident and scale?
Any suggestion would be helpful
As i couldn't find any method in object tree.method name returns full name.Is there any way to access only ident and scale?
Any suggestion would be helpful





RE: How to access section properties using scripting??
From DS v5automation.chm:
o Sub SetViewName( CATBSTR iViewNamePrefix,
CATBSTR iViewNameIdent,
CATBSTR iViewNameSuffix)
Sets the prefix, the ident and the suffix of the name of the drawing view. The method returns an error in case of 2D component reference.
Note: Prefix of drawing view can be also modified across name property defined in CATIABase
Warning: This method is not available with 2D Layout for 3D Design.
Example:
This example sets the prefix, the ident, and the suffix of the name of the MyView drawing view respectively to "MyPrefix", "MyIdent", and "MySuffix".
MyView.SetViewName ("MyPrefix", "MyIdent", "MySuffix")
You can search also for scale.
Regards
Fernando
https://picasaweb.google.com/102257836106335725208 - Romania
https://picasaweb.google.com/103462806772634246699... - EU