Package com.ptc.windchill.designasmsrv


package com.ptc.windchill.designasmsrv
  • Classes
    Class
    Description
    The class to support CAD/WNC authored design assembly, dependency link processing:
    - create design assembly document based on parameters: EPMAuthoringAppType, CAD name, template name.
    Create assembly document API will throw Exception for the following parameters: - assembly template docType/subtype values must correspond to "CAD assembly"/"design" types - CAD name must be unique - workspace or container must be specified - EPMAuthoringAppType must be specified, if template name is empty
    - create dependency member link based on DependencyMemberLinkInfo parameters for CAD/WNC authored assemblies
    - annotate/or save non persistent link
    - validate and update child of non persistent member link

    - remove persistent member links


    Supported API: true

    Extendable: false
    The class to support design CAD documents creation from WTParts parameters, and associate new doc to WTPart:
    - required parameters: EPMAuthoringAppType, EPMWorkspace, CAD template document names.
    - optional parameters: WTContainer, CADDocInfo iba attributes(can be null) and setting options
    Supported:
    a) creation new CAD EPMDocument based on WTPart doc type and configured settings
    b) association new created CAD EPMDocument to specified WTPart
    c) WTPart check out, if WTPart is not new Collect valid WTParts to set of processedWTParts
    Collect not valid WTParts to set of ignoredWTParts, if WTPart:
    - not persistent
    - checked out to other Workspace or locked
    - not latest iterated
    - not in specified Workspace
    - has unsupported type; valid types are only: SEPARABLE and COMPONENT
    - has active OWNER association to EPMDocument
    - has same name or number, as existing CAD document Create assembly document API will throw Exception for the following parameters verification:
    - template docType/subtype values must correspond to CAD document types: CADASSEMBLY or CADCOMPONENT


    Supported API: true

    Extendable: false
    Creates:
    - default CAD alternate representation(CAR) - CAR container, as ESR EPMDocument, based on specified parameters
    - reference to top-level assembly, specified by name

    * Note: Parameter esrTemplateName, with extension, can be set in ESRDocumentInfo
    If not specified as parameter, must be configured in wt.properties for authored application types:
    for Creo - com.ptc.windchill.designasmsrv.AssemblyDocumentFactory.nameOfCADESRTemplatelProE
    for Catia - com.ptc.windchill.designasmsrv.AssemblyDocumentFactory.nameOfCADESRTemplatelCat
    for Windchill - com.ptc.windchill.designasmsrv.AssemblyDocumentFactory.nameOfCADESRTemplatelWNC


    Supported API: true

    Extendable: false
    DesignContextBuilder is supported class to create/update Design Context(DC) document, CAD alternate representation, and definition/result rules
    and delegates call to CARBuilder createAlternateRep() and the corresponding methods

    Class contains alternative createDesignContextAlternateRepCatia() method to simplify creation default CAD alternate representation(CAR) for Catia and
    Design Context(DC) objects, based on specified parameters:
    -top assembly - required
    -workspace name - required
    -CAD name to specify the DC CAD name - required
    -description to specify DC description
    * Note: createDesignContextAlternateRepCatia() implementation has the limited functions:
    -Support provided for authoring application:CatiaV5
    -Use a fixed Catia CAD template name: PTC_CATIA_DesignContext_Template_R24.CATProduct
    -Create default definition rule, initialized as "INCLUDE as MASTER REP"
    -The Number of DC document is generated, if AutoNumbering is enabled
    *

    Supported API: true

    Extendable: false