CATGSMUseItf Interface CATIGSMUseUIFactory

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIGSMUseUIFactory

Factory allowing to access interactive components of Shape Design.
Role: Allows to call shape design command.
This interface allows to run wireframe and surface commands from other commands
either in exclusive mode (current command is cancel)
or in shared mode (current command is handled until the end of launched command).
List of available commands :

     Command                         StartUp Name                Icon Name
   -------------------------------------------------------------------------
   Point interactive command       "GSMPoint"                  "I_Point"
   MidPoint                        "GSMMidPoint"               "I_Midpoint"
   EndPoint                        "GSMEndPoint"               "I_Endpoint"
   Line interactive command        "GSMLine"                   "I_Line"
   Plane interactive command       "GSMPlane"                  "I_Plane"
   Intersect interactive command   "GSMIntersect"              "I_Intersection"
   Project interactive command     "GSMProject"                "I_Project"
   Join interactive command        "GSMAssemble"               "I_AssembleBipar"
   Boundary interactive command    "GSMBoundary"               "I_Boundary"
   Extract interactive command     "GSMExtract"                "I_Extract"
   Extrapol interactive command    "GSMExtrapol"               "I_Extrapol"
   Law  interactive command        "GSMLaw"                    "I_Law"
   Extremum interactive command    "GSMExtremum"               "I_Extremum"
   CurveSmooth interactive command "GSMCurveSmooth"            "I_CurveSmooth"
   Spine interactive command       "GSMSpine"                  "I_Spine"
   Loft interactive command        "GSMLoft"                   "I_Loft"
   Blend interactive command       "GSMBlend"                  "I_Blend"
   Multiple Pt interactive command "GSMMultiplePoint"          "I_MultiplePoint"
   Trim  interactive command       "GSMTrim"                   "I_Trim"
   Spline interactive command      "GSMCurve"                  "I_Curve"
   Polyline interactive command    "GSMLineCorner"             "I_LineCorner"
   Near  interactive command       "GSMNear"                   "I_Near"
   3D Curve offset interactive cmd "GSM3DurveOffset"           "I_3DCurveOffset"
	 Sketch command					 "PRTSketch"				 "I_Sketcher"
   Axis System interactive command "AxisSystem"				 "I_3DAxisSystemGSD"
   3D Curve interactive command	 "St3DCurveFeature"			 "I_St3DCurve"
 


Method Index


o CreationCommand(CATGSMUICmdInfo*,CATString&,CATDlgEngBehavior,CATCommandMode)
Starts a Shape Design command in creation mode.
o EditCommand(CATIMmiMechanicalFeature_var&,CATString&,CATDlgEngBehavior,CATCommandMode)
Starts a Shape Design command in edit mode.

Methods


o CreationCommand
public virtual CreationCommand( CmdInfo,
const Name="CATGSMUICommandCreation",
Behavior=NULL,
iMode=CATCommandModeExclusive)
Starts a Shape Design command in creation mode. Notice that the resulting command can be NULL if the catalog needed for the feature creation was not loaded previously.
Parameters:
CmdInfo
Class defining parameters to activatefor GSD command creation
  • StartUpName or Typename/WorkingPart
  • Datum Mode
  • Contextual Item
  • Aggregation mode (=Internal GSD use Only=)
Name
The name of the created CATCommand
Note: Default is "CATIGSMUseUICommandCreation"
Behavior
The behavior parameter of the CATStateCommand
Note: Default is NULL
iMode
The CATCommand start mode (exclusive or shared)
Note: Default is exclusive mode
See also:
,
See also:
o EditCommand
public virtual EditCommand( EditedSpec,
const Name="CATIGSMUseUICommandEdit",
Behavior=NULL,
iMode=CATCommandModeExclusive)
Starts a Shape Design command in edit mode.
Parameters:
EditedSpec
The element to edit
Name
The name of the created CATCommand
Note:Default is "CATIGSMUseUICommandEdit"
Behavior
The behavior parameter of the CATStateCommand
Note:Default is NULL
iMode
The CATCommand start mode (exclusive or shared)
Note:Default is exclusive mode
See also:
,

This object is included in the file: CATIGSMUseUIFactory.h
If needed, your Imakefile.mk should include the module: CATGSMUseItf

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.