Public Member Functions | Public Attributes

MLSolidWorksMotionStudyManager Class Reference

Gives access to the IMotionStudyManager API of SolidWorks. More...

#include <+SolidWorks/MLSolidWorksMotionStudyManager.h>

Inheritance diagram for MLSolidWorksMotionStudyManager:
Inheritance graph
[legend]
Collaboration diagram for MLSolidWorksMotionStudyManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

function MLSolidWorksMotionStudyManager (in rawISMgrPointer)
 Class constructor.
function ActivateStudy (in obj, in studyName)
 Activates the specified motion study.
function GetStudy (in obj, in studyName)
 Gets the specified motion study.
function DeleteStudy (in obj, in studyName)
 Deletes the specified MotionStudy from a model.
function GetStudyCount (in obj)
 Gets the number of motion studies in a model.

Public Attributes

 m_CADRawPointer

Detailed Description

Gives access to the IMotionStudyManager API of SolidWorks.

Use this to get access to the different motion studies in the form of a MLSolidWorksMotionStudy object


Constructor & Destructor Documentation

function MLSolidWorksMotionStudyManager ( in  rawISMgrPointer )

Class constructor.

Parameters:
rawISMgrPointeris the COM pointer to the MLSolidWorksStudyManager object.

Member Function Documentation

function ActivateStudy ( in  obj,
in  studyName 
)

Activates the specified motion study.

Parameters:
objis the instance if the object calling and is implicit.
studyNameName of motion study to activate
Return values:
statusTrue if the specified motion study is activated, false if not
Remarks

To get the names of the available motion studies, you can call IMotionStudyManager::GetMotionStudyNames or IMotionStudyManager::IGetMotionStudyNames. The names of motion studies also appear on the MotionManager tabs.

function DeleteStudy ( in  obj,
in  studyName 
)

Deletes the specified MotionStudy from a model.

Parameters:
objis the instance if the object calling and is implicit.
studyNameName of motion study to delete
function GetStudy ( in  obj,
in  studyName 
)

Gets the specified motion study.

Parameters:
objis the instance if the object calling and is implicit.
studyNameName of motion study to activate
Return values:
IStudyReturns a handle to the motion study. It returns a MLSolidWorksMotionStudy.
Remarks

To get the names of the available motion studies, you can call IMotionStudyManager::GetMotionStudyNames or IMotionStudyManager::IGetMotionStudyNames. The names of motion studies also appear on the MotionManager tabs.

function GetStudyCount ( in  obj )

Gets the number of motion studies in a model.

Parameters:
objis the instance if the object calling and is implicit.
Return values:
studyCountNumber of motion studies in the model

Member Data Documentation

m_CADRawPointer [inherited]

The documentation for this class was generated from the following file: