All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

HybridShapeLawDistProj (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---HybridShape
            |
            +---HybridShapeLawDistProj
 


Interface to law feature.
Role: Allows you to access data of a law feature created by using a reference line and a definition curve.
See also:
HybridShapeFactory

Property Index

AppliedUnitSymbol
Returns or sets the applied unit symbol for heterogeneous law.
Definition
Returns or sets the definition curve of the law.
MeasureUnitSymbol
Returns or sets the measure unit symbol for heterogeneous law.
ParameterOnDefinition
Queries whether evolution parameter is on reference curve (default) or on definition curve,or sets evolution parameter on reference curve or on definition curve.
PositiveDirectionOrientation
Returns or sets the positive value direction.
Reference
Returns or sets the reference line of the law.
Scaling
Returns or sets the scaling ratio of the law.

Method Index

GetAppliedUnitSymbol
Returns the applied unit symbol.
GetMeasureUnitSymbol
Returns the measure unit symbol.
GetPlaneNormal
Retrieves the support plane normal.
IsHeterogeneousLaw
Queries whether Heterogeneous Law mode is active or not.
PutPlaneNormal
Sets the support plane normal.

Properties


o Property AppliedUnitSymbol(CATBSTR iSymbol) (Write Only)
Returns or sets the applied unit symbol for heterogeneous law.
o Property Definition() As CATIAReference
Returns or sets the definition curve of the law.
Sub-element(s) supported (see
Boundary object): see TriDimFeatEdge or BiDimFeatEdge.
o Property MeasureUnitSymbol(CATBSTR iSymbol) (Write Only)
Returns or sets the measure unit symbol for heterogeneous law.
o Property ParameterOnDefinition() As boolean
Queries whether evolution parameter is on reference curve (default) or on definition curve,or sets evolution parameter on reference curve or on definition curve. Possible values of ParameterOnDefinition = TRUE : Parameter on definition curve. = FALSE : Parameter on reference curve.
Example:
This example retrieves in ParOnDef the ParameterOnDefinition status of the hybridShapeLawDist hybrid shape law feature.
 Dim ParOnDef As boolean
 ParOnDef = hybridShapeLawDist.ParameterOnDefinition
 
o Property PositiveDirectionOrientation() As long
Returns or sets the positive value direction.
o Property Reference() As CATIAReference
Returns or sets the reference line of the law.
Sub-element(s) supported (see
Boundary object): see RectilinearTriDimFeatEdge or RectilinearBiDimFeatEdge.
o Property Scaling() As double
Returns or sets the scaling ratio of the law.

Methods


o Sub GetAppliedUnitSymbol(CATBSTR oSymbol)
Returns the applied unit symbol.
Parameters:
oSymbol
The symbol of applied unit
Example:
This example retrieves in oSymbol the applied unit symbol of the hybridShapeLawDist hybrid shape law feature.
 Dim oSymbol
 hybridShapeLawDist.GetAppliedUnitSymboloSymbol
 
o Sub GetMeasureUnitSymbol(CATBSTR oSymbol)
Returns the measure unit symbol.
Parameters:
oSymbol
The symbol of measure unit
Example:
This example retrieves in oSymbol the measure unit symbol of the hybridShapeLawDist hybrid shape law feature.
 Dim oSymbol
 hybridShapeLawDist.GetMeasureUnitSymboloSymbol
 
o Sub GetPlaneNormal(CATSafeArrayVariant oNormal)
Retrieves the support plane normal.
Parameters:
oNormal
The support plane normal
o Func IsHeterogeneousLaw() As boolean
Queries whether Heterogeneous Law mode is active or not.
Parameters:
oHeterogeneousLaw
heterogeneous law mode = TRUE : Heterogeneous Law mode is active. = FALSE : Heterogeneous Law mode is inactive.
o Sub PutPlaneNormal(CATSafeArrayVariant iNormal)
Sets the support plane normal.
Parameters:
iNormal
The support plane normal

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