SfmManager (Object)

Services about Structure Functional Modeler applications: SFD and SDD.
Role: To manage some services.

Methods


Sub AddHull()
Add the Hull feature according to the PRM resources.
Role: Allows adding the Hull feature according to the PRM resources.
Returns:
S_OK if everything ran ok.
Func GetAllUC1Welds() As
Gets all UC1 Weld features in Part.
Parameters:
oWelds
[out] The retrieved UC1 Weld features.
Returns:
S_OK if everything ran ok.
Example
:
This example gets welds features in Part.
 Dim Welds As SfmWelds
 Set Welds = ManagerObj.GetWelds(Nothing)
 
Func GetHull() As
Returns the Hull feature in the part.
Example
:
This example retrieves in Hull the Hull object.
 Dim Hull As Reference
 SfmManager.GetHull Hull
 
Func GetPlaneSystems() As
Returns the list of PlaneSystems in the part.
Example
:
This example retrieves in PlaneSystems the list of PlaneSystems objects.
 Dim PlaneSystems As References
 SfmManager.GetPlaneSystems PlaneSystems
 
Func GetReferencePlane( iPlaneSystemIndex, iPlaneIndex) As
Returns a reference plane in the specific PlaneSystems.
Example
:
This example retrieves in RefPlane the reference planes contained into the 1st PlaneSystem, and which has CROSS.12 as a name.
 Dim RefPlane As Reference
 SfmManager.GetReferencePlane 1, "CROSS.12", RefPlane
 
Func GetSuperMembers() As
Returns the list of SuperMembers in the part.
Example
:
This example retrieves in SuperMembers the list of SuperMembers objects.
 Dim SuperMembers As References
 SfmManager.GetSuperMembers SuperMembers
 
Func GetSuperPlates() As
Returns the list of SuperPlates in the part.
Example
:
This example retrieves in SuperPlates the list of SuperPlates objects.
 Dim SuperPlates As References
 SfmManager.GetSuperPlates SuperPlates
 
Func GetSuperStiffeners() As
Returns the list of SuperStiffeners in the part.
Example
:
This example retrieves in SuperStiffeners the list of SuperStiffeners objects.
 Dim SuperStiffeners As References
 SfmManager.GetSuperStiffeners SuperStiffeners
 
Func GetSuperStiffenersOnFreeEdge() As
Returns the list of SuperStiffenersOnFreeEdge in the part.
Example
:
This example retrieves in SuperStiffenersOnFreeEdge the list of SuperStiffenersOnFreeEdge objects.
 Dim SuperStiffenersOnFreeEdge As References
 SfmManager.GetSuperStiffenersOnFreeEdge SuperStiffenersOnFreeEdge
 
Sub InitResources()
Initialize environment (PRM resources).
Role: Allows initializing environment (PRM resources).
Returns:
S_OK if everything ran ok.
Sub SynchronizeHull()
Synchronize PlaneSystems according with the PRM resources.
Role: Allows synchronizing the PlaneSystems with the PRM resources.
Returns:
S_OK if everything ran ok.
Sub SynchronizePlanes()
Synchronize PlaneSystems according with the PRM resources.
Role: Allows synchronizing the PlaneSystems with the PRM resources.
Returns:
S_OK if everything ran ok.