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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
MecModInterfaces.Shape
PartInterfaces.DressUpShape
Draft

Represents the draft shape.
A draft shape is made up of draft domains (at least one) and of a parting
element.
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 domains
of the firstDraft draft:

Set list = firstDraft.DraftDomains
Return type:

DraftDomains

property mode: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Mode() As CatDraftMode

Returns or sets the draft mode.

Example:
The following example returns in mode the draft mode of the firstDraft
draft, and then sets it to
CatReflectKeepFaceDraftMode:

Set mode = firstDraft.Mode
Set 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 Reference

Returns 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 the
firstDraft draft, and then sets it to the element2 geometrical
element:

Set element = firstDraft.PartingElement
Set firstDraft.PartingElement = element2
Return type:

Reference