All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

Draft (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---Shape
            |
            +---DressUpShape
              |
              +---Draft
 


Represents the draft shape.
A draft shape is made up of draft domains (at least one) and of a parting element.

Property Index

DraftDomains
Returns the collection of draft domains.
Mode
Returns or sets the draft mode.
PartingElement
Returns or sets the draft parting element.

Properties


o Property DraftDomains() As CATIADraftDomains (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
 
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
 
o Property PartingElement() As CATIAReference
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
 

Copyright © 2003, Dassault Systèmes. All rights reserved.