pycatia.part_interfaces.draft¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.part_interfaces.draft.Draft(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.ShapePartInterfaces.DressUpShapeDraftRepresents the draft shape.A draft shape is made up of draft domains (at least one) and of a partingelement.- property draft_domains: DraftDomains¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property DraftDomains() As DraftDomains (Read Only)Returns the collection of draft domains.Example:The following example returns in list the collection of draft domainsof the firstDraft draft:Set list = firstDraft.DraftDomains
- Return type:
- property mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Mode() As CatDraftModeReturns or sets the draft mode.Example:The following example returns in mode the draft mode of the firstDraftdraft, and then sets it toCatReflectKeepFaceDraftMode:Set mode = firstDraft.ModeSet firstDraft.Mode = CatReflectKeepFaceDraftMode
- Return type:
enum cat_draft_mode
- Return type:
int
- property parting_element: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property PartingElement() As ReferenceReturns or sets the draft parting element.To set the property, you can use the following Boundary object:PlanarFace.Example:The following example returns in element the parting element of thefirstDraft draft, and then sets it to the element2 geometricalelement:Set element = firstDraft.PartingElementSet firstDraft.PartingElement = element2
- Return type: