joltinjohn
Aerospace
- May 7, 2003
- 20
Does anyone know how to use the ActivateFram Method in Catia V5R9. The help file says:
o Sub ActivateFrame( CatTextFrameType iType)
Activates the text frame of the drawing text.
Parameters:
iType
The text frame type
Example:
This example add a rectangle frame to MyText drawing text.
CatTextFrameType itype = catRectangle
MyText.ActivateFrame itype
Example:
This example remove the frame to MyText drawing text.
CatTextFrameType itype = catNone
MyText.ActivateFrame itype
But I cannot get the sytax correct or something because the frame never activates
o Sub ActivateFrame( CatTextFrameType iType)
Activates the text frame of the drawing text.
Parameters:
iType
The text frame type
Example:
This example add a rectangle frame to MyText drawing text.
CatTextFrameType itype = catRectangle
MyText.ActivateFrame itype
Example:
This example remove the frame to MyText drawing text.
CatTextFrameType itype = catNone
MyText.ActivateFrame itype
But I cannot get the sytax correct or something because the frame never activates