All Frameworks Object Hierarchy This Framework Indexes
The generative behavior of a drawing view is an object that defines the parameters used to generate the drawing view from the document it represents. Main parameters include the type of the view, the plane on which the view is projected, the document to represent, and additional parameters depending on the view type.
o Property ColorInheritanceMode( | ) As |
MyView.GenerativeBehavior.ColorInheritanceMode(cat3DColorInheritanceModeOn)
o Property Document( | ) As |
Dim PartToDraw As Document Set PartToDraw = CATIA.Documents.Item("CATPart1") MyView.GenerativeBehavior.Document = PartToDraw
o Property FilletRepresentation( | ) As |
MyView.GenerativeBehavior.FilletRepresentation = catFilletRepBoundary
o Property HiddenLineMode( | ) As |
MyView.GenerativeBehavior.HiddenLineMode = catHLRModeOn
o Property ImageViewMode( | ) As |
MyView.GenerativeBehavior.CatImageViewMode(catImageModeHRD)
o Property LimitBoundingBox( | ) As |
o Property ParentView( | ) As (Read Only) |
Dim MyParentView As DrawingView Set MyParentView = MyView.GenerativeBehavior.ParentView
o Property PointsProjectionMode( | ) As |
MyView.GenerativeBehavior.PointsProjectionMode = catPointsProjectionModeOn
o Property PointsSymbol( | ) As |
o Property RepresentationMode( | ) As |
MyView.GenerativeBehavior.RepresentationMode = catPolyhedricMode
o Sub ApplyBreakoutTo( | iParentView) |
MyView.GenerativeBehavior.ApplyBreakoutTo(MyDestinationView)
o Sub DefineAuxiliaryView( | iXStartPoint, | |
iYStartPoint, | ||
iXEndPoint, | ||
YEndPoint, | ||
iSideToDraw, | ||
iParentViewGenerativeBehavior) |
MyView.GenerativeBehavior.DefineAuxiliaryView 100., 50., 500., 250., 1, MyParentViewGB
o Sub DefineBox3DView( | iBoxableObject) |
o Sub DefineBreakout( | iProfil, | |
iPlane1, | ||
iPlane2) |
o Sub DefineBrokenView( | iBrokenLinesExtremities, | |
iXDirection, | ||
iYDirection) |
MyView.GenerativeBehavior.DefineBrokenView X1, Y1, X2, Y2, X3, Y3, X4, Y4, XDirection, YDirection
o Sub DefineCircularClippingView( | XCenter, | |
YCenter, | ||
Radius) |
o Sub DefineCircularDetailView( | iXCenter, | |
iYCenter, | ||
iRadius, | ||
iParentViewGenerativeBehavior) |
MyView.GenerativeBehavior.DefineCircularDetailView 100., 150., 75., MyParentViewGB
o Sub DefineCircularExactClippingView( | XCenter, | |
YCenter, | ||
Radius) |
o Sub DefineFrontView( | iX1, | |
iY1, | ||
iZ1, | ||
iX2, | ||
iY2, | ||
iZ2) |
MyView.GenerativeBehavior.DefineFrontView 0., 1., 0., 0., 0., 1.
o Sub DefineIsometricView( | iX1, | |
iY1, | ||
iZ1, | ||
iX2, | ||
iY2, | ||
iZ2) |
MyView.GenerativeBehavior.DefineIsometricView -0.707, 0.707, 0., 0., 0., 1.
o Sub DefinePolygonalClippingView( | profil) |
o Sub DefinePolygonalDetailView( | iProfile, | |
iParentViewGenerativeBehavior) |
MyView.GenerativeBehavior.DefinePolygonalDetailView 0., 0., 100., 0., 100., 100., 0., 100., MyParentViewGB
o Sub DefinePolygonalExactClippingView( | profil) |
o Sub DefineProjectionView( | iParentViewGenerativeBehavior, | |
iType) |
MyView.GenerativeBehavior.DefineProjectionView MyParentViewGB, catRightView
o Sub DefineSectionView( | iProfile, | |
iSectionType, | ||
iProfileType, | ||
iSideToDraw, | ||
iParentViewGenerativeBehavior) |
Dim SectionProfile ReDim SectionProfile(7) SectionProfile(0) = 10. SectionProfile(1) = 200. SectionProfile(2) = 100. SectionProfile(3) = 200. SectionProfile(4) = 100. SectionProfile(5) = 50. SectionProfile(6) = 300. SectionProfile(7) = 50. MyView.GenerativeBehavior.DefineSectionView SectionProfile, SectionView, Offset, 0, MyParentViewGB
o Sub DefineStandAloneSection( | profil, | |
type_of_section, | ||
type_of_profile, | ||
iPlane, | ||
iSide) |
o Sub DefineTPSSectionView( | iProfile, | |
iSectionType, | ||
iProfileType, | ||
iSideToDraw, | ||
iParentViewGenerativeBehavior) |
Dim SectionProfile ReDim SectionProfile(7) SectionProfile(0) = 10. SectionProfile(1) = 200. SectionProfile(2) = 100. SectionProfile(3) = 200. SectionProfile(4) = 100. SectionProfile(5) = 50. SectionProfile(6) = 300. SectionProfile(7) = 50. MyView.GenerativeBehavior.DefineSectionView SectionProfile, SectionView, Offset, 0, MyParentViewGB
o Sub DefineUnfoldedView( | iX1, | |
iY1, | ||
iZ1, | ||
iX2, | ||
iY2, | ||
iZ2) |
MyView.GenerativeBehavior.DefineUnfoldedView 0., 1., 0., 0., 0., 1.
o Sub ForceUpdate( | ) |
MyView.GenerativeBehavior.ForceUpdate()
o Sub GetAxisSysteme( | oProduct, | |
oAxisSysteme) |
o Func GetGPSName( | ) As |
MyView.GenerativeBehavior.GetGPSName GPSFile
o Sub GetProjectionPlaneNormal( | oXNormal, | |
oYNormal, | ||
oZNormal) |
MyView.GenerativeBehavior.GetProjectionPlaneNormal Xn, Yn, Zn
o Sub GetProjectionPlane( | oX1, | |
oY1, | ||
oZ1, | ||
oX2, | ||
oY2, | ||
oZ2) |
MyView.GenerativeBehavior.GetProjectionPlane X1, Y1, Z1, X2, Y2, Z2
o Sub SetAxisSysteme( | iProduct, | |
iAxisSysteme) |
o Sub SetGPSName( | iGPSName) |
MyView.GenerativeBehavior.SetGPSName "GPSFile1.xml"
o Sub SetProjectionPlane( | iX1, | |
iY1, | ||
iZ1, | ||
iX2, | ||
iY2, | ||
iZ2) |
MyView.GenerativeBehavior.SetProjectionPlane 1., 0., 0., 0., 1., 0.
o Sub UnBreak( | ) |
MyView.GenerativeBehavior.UnBreak()
o Sub UnBreakoutNum( | iBreakoutNumber) |
MyView.GenerativeBehavior.UnBreakout(1)
o Sub UnBreakout( | ) |
MyView.GenerativeBehavior.UnBreakout()
o Sub UnClip( | ) |
MyView.GenerativeBehavior.UnClip()
o Sub Update( | ) |
MyView.GenerativeBehavior.Update()
Copyright © 2003, Dassault Systèmes. All rights reserved.