Skip to main content
View as Markdown

IMBA2_SDK_Document interface

No description yet.

public interface IMBA2_SDK_Document : IServerDocument

Namespace: EDP · Assembly: Altium.SDK.Interfaces

Inherits: IServerDocument

Methods​

MethodReturnsDescription
AddMateIMBA2_SDK_MatingPair
AddMate2IMBA2_SDK_MatingPair
AddMate3IMBA2_SDK_MatingPair
AddMate4IMBA2_SDK_MatingPair
AddMateWithSettingsIMBA2_SDK_MatingPair
AddMBAPartIMBA2_SDK_ArrayList
AddPCBPartIMBA2_SDK_Part
AddSTEPPartIMBA2_SDK_Part
CalculateMateSettingsMBAMateSettingsWithOrientation
ConvertLocalToWorldDirectionMBAVec3
ConvertLocalToWorldPositionMBAVec3
ConvertWorldToLocalDirectionMBAVec3
ConvertWorldToLocalPositionMBAVec3
Export3DStepvoid
FindFaceByRayIMBA2_SDK_Face
FindFaceOfComponentByRayIMBA2_SDK_Face
FindFaceOfPartByRayIMBA2_SDK_Face
FindNearestMatingItemByRayIMBA2_SDK_MatingItem
FindNearestMatingItemOfComponentByRayIMBA2_SDK_MatingItem
FindNearestMatingItemOfFaceByRayIMBA2_SDK_MatingItem
FindNearestMatingItemOfPartByRayIMBA2_SDK_MatingItem
GetDataModelIMBA2_SDK_DataModel
GetPartIMBA2_SDK_Part
GetPartCountint
GetSceneDatastring
MeasureDistanceComponentToComponentdouble
MeasureDistanceComponentToFacedouble
MeasureDistanceFaceToFacedouble
RemoveMatebool
RemovePartbool
SetMateOrientationvoid
SetMateSettingsvoid
SetMateTypevoid
SetPartTransformvoid
SetPartTransform_ForPreviewvoid
SetPartTransformByPartIdvoid
UpdateAllPartsvoid
UpdatePartvoid

AddMate​

No description yet.

IMBA2_SDK_MatingPair AddMate(IMBA2_SDK_MatingItem argItemA, IMBA2_SDK_MatingItem argItemB);
ParameterTypePassing
argItemAIMBA2_SDK_MatingItemvalue
argItemBIMBA2_SDK_MatingItemvalue

Returns: IMBA2_SDK_MatingPair

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

AddMate2​

No description yet.

IMBA2_SDK_MatingPair AddMate2(IMBA2_SDK_MatingItem argItemA, IMBA2_SDK_MatingItem argItemB, TMBAMateType argMateType);
ParameterTypePassing
argItemAIMBA2_SDK_MatingItemvalue
argItemBIMBA2_SDK_MatingItemvalue
argMateTypeTMBAMateTypevalue

Returns: IMBA2_SDK_MatingPair

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

AddMate3​

No description yet.

IMBA2_SDK_MatingPair AddMate3(IMBA2_SDK_MatingItem argItemA, IMBA2_SDK_MatingItem argItemB, TMBAMateOrientation argMateOrientation);
ParameterTypePassing
argItemAIMBA2_SDK_MatingItemvalue
argItemBIMBA2_SDK_MatingItemvalue
argMateOrientationTMBAMateOrientationvalue

Returns: IMBA2_SDK_MatingPair

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

AddMate4​

No description yet.

IMBA2_SDK_MatingPair AddMate4(IMBA2_SDK_MatingItem argItemA, IMBA2_SDK_MatingItem argItemB, TMBAMateType argMateType, TMBAMateOrientation argMateOrientation);
ParameterTypePassing
argItemAIMBA2_SDK_MatingItemvalue
argItemBIMBA2_SDK_MatingItemvalue
argMateTypeTMBAMateTypevalue
argMateOrientationTMBAMateOrientationvalue

Returns: IMBA2_SDK_MatingPair

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

AddMateWithSettings​

No description yet.

IMBA2_SDK_MatingPair AddMateWithSettings(IMBA2_SDK_MatingItem argItemA, IMBA2_SDK_MatingItem argItemB, TMBAMateType argMateType, TMBAMateOrientation argMateOrientation, MBAMateSettings argMateSettings);
ParameterTypePassing
argItemAIMBA2_SDK_MatingItemvalue
argItemBIMBA2_SDK_MatingItemvalue
argMateTypeTMBAMateTypevalue
argMateOrientationTMBAMateOrientationvalue
argMateSettingsMBAMateSettingsvalue

Returns: IMBA2_SDK_MatingPair

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

AddMBAPart​

No description yet.

IMBA2_SDK_ArrayList AddMBAPart(string argFileName);
ParameterTypePassing
argFileNamestringvalue

Returns: IMBA2_SDK_ArrayList

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

AddPCBPart​

No description yet.

IMBA2_SDK_Part AddPCBPart(string argFileName);
ParameterTypePassing
argFileNamestringvalue

Returns: IMBA2_SDK_Part

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

AddSTEPPart​

No description yet.

IMBA2_SDK_Part AddSTEPPart(string argFileName);
ParameterTypePassing
argFileNamestringvalue

Returns: IMBA2_SDK_Part

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

CalculateMateSettings​

No description yet.

MBAMateSettingsWithOrientation CalculateMateSettings(IMBA2_SDK_MatingItem argItemA, IMBA2_SDK_MatingItem argItemB);
ParameterTypePassing
argItemAIMBA2_SDK_MatingItemvalue
argItemBIMBA2_SDK_MatingItemvalue

Returns: MBAMateSettingsWithOrientation

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

ConvertLocalToWorldDirection​

No description yet.

MBAVec3 ConvertLocalToWorldDirection(IMBA2_SDK_Part argPart, MBAVec3 argDirection);
ParameterTypePassing
argPartIMBA2_SDK_Partvalue
argDirectionMBAVec3value

Returns: MBAVec3

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

ConvertLocalToWorldPosition​

No description yet.

MBAVec3 ConvertLocalToWorldPosition(IMBA2_SDK_Part argPart, MBAVec3 argPosition);
ParameterTypePassing
argPartIMBA2_SDK_Partvalue
argPositionMBAVec3value

Returns: MBAVec3

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

ConvertWorldToLocalDirection​

No description yet.

MBAVec3 ConvertWorldToLocalDirection(IMBA2_SDK_Part argPart, MBAVec3 argDirection);
ParameterTypePassing
argPartIMBA2_SDK_Partvalue
argDirectionMBAVec3value

Returns: MBAVec3

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

ConvertWorldToLocalPosition​

No description yet.

MBAVec3 ConvertWorldToLocalPosition(IMBA2_SDK_Part argPart, MBAVec3 argPosition);
ParameterTypePassing
argPartIMBA2_SDK_Partvalue
argPositionMBAVec3value

Returns: MBAVec3

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

Export3DStep​

No description yet.

void Export3DStep(string argFileName, string argParams);
ParameterTypePassing
argFileNamestringvalue
argParamsstringvalue

Returns: nothing (void)

FindFaceByRay​

No description yet.

IMBA2_SDK_Face FindFaceByRay(MBAVec3 argRayOrigin, MBAVec3 argRayDirection, double argRayRadius);
ParameterTypePassing
argRayOriginMBAVec3value
argRayDirectionMBAVec3value
argRayRadiusdoublevalue

Returns: IMBA2_SDK_Face

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

FindFaceOfComponentByRay​

No description yet.

IMBA2_SDK_Face FindFaceOfComponentByRay(IMBA2_SDK_Component argComponent, MBAVec3 argRayOrigin, MBAVec3 argRayDirection, double argRayRadius);
ParameterTypePassing
argComponentIMBA2_SDK_Componentvalue
argRayOriginMBAVec3value
argRayDirectionMBAVec3value
argRayRadiusdoublevalue

Returns: IMBA2_SDK_Face

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

FindFaceOfPartByRay​

No description yet.

IMBA2_SDK_Face FindFaceOfPartByRay(IMBA2_SDK_Part argPart, MBAVec3 argRayOrigin, MBAVec3 argRayDirection, double argRayRadius);
ParameterTypePassing
argPartIMBA2_SDK_Partvalue
argRayOriginMBAVec3value
argRayDirectionMBAVec3value
argRayRadiusdoublevalue

Returns: IMBA2_SDK_Face

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

FindNearestMatingItemByRay​

No description yet.

IMBA2_SDK_MatingItem FindNearestMatingItemByRay(MBAVec3 argRayOrigin, MBAVec3 argRayDirection, double argRayRadius);
ParameterTypePassing
argRayOriginMBAVec3value
argRayDirectionMBAVec3value
argRayRadiusdoublevalue

Returns: IMBA2_SDK_MatingItem

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

FindNearestMatingItemOfComponentByRay​

No description yet.

IMBA2_SDK_MatingItem FindNearestMatingItemOfComponentByRay(IMBA2_SDK_Component argComponent, MBAVec3 argRayOrigin, MBAVec3 argRayDirection, double argRayRadius);
ParameterTypePassing
argComponentIMBA2_SDK_Componentvalue
argRayOriginMBAVec3value
argRayDirectionMBAVec3value
argRayRadiusdoublevalue

Returns: IMBA2_SDK_MatingItem

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

FindNearestMatingItemOfFaceByRay​

No description yet.

IMBA2_SDK_MatingItem FindNearestMatingItemOfFaceByRay(IMBA2_SDK_Face argFace, MBAVec3 argRayOrigin, MBAVec3 argRayDirection);
ParameterTypePassing
argFaceIMBA2_SDK_Facevalue
argRayOriginMBAVec3value
argRayDirectionMBAVec3value

Returns: IMBA2_SDK_MatingItem

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

FindNearestMatingItemOfPartByRay​

No description yet.

IMBA2_SDK_MatingItem FindNearestMatingItemOfPartByRay(IMBA2_SDK_Part argPart, MBAVec3 argRayOrigin, MBAVec3 argRayDirection, double argRayRadius);
ParameterTypePassing
argPartIMBA2_SDK_Partvalue
argRayOriginMBAVec3value
argRayDirectionMBAVec3value
argRayRadiusdoublevalue

Returns: IMBA2_SDK_MatingItem

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

GetDataModel​

No description yet.

IMBA2_SDK_DataModel GetDataModel();

Returns: IMBA2_SDK_DataModel

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

GetPart​

No description yet.

IMBA2_SDK_Part GetPart(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: IMBA2_SDK_Part

Extension method of IMBA2_SDK_DocumentHelper (using EDP;).

GetPartCount​

No description yet.

int GetPartCount();

Returns: int

GetSceneData​

No description yet.

string GetSceneData();

Returns: string

MeasureDistanceComponentToComponent​

No description yet.

double MeasureDistanceComponentToComponent(IMBA2_SDK_Component argComponentA, IMBA2_SDK_Component argComponentB);
double MeasureDistanceComponentToComponent(object argComponentA, object argComponentB);
ParameterTypePassing
argComponentAIMBA2_SDK_Componentvalue
argComponentBIMBA2_SDK_Componentvalue

Returns: double

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

MeasureDistanceComponentToFace​

No description yet.

double MeasureDistanceComponentToFace(IMBA2_SDK_Component argComponent, IMBA2_SDK_Face argFace);
double MeasureDistanceComponentToFace(object argComponent, object argFace);
ParameterTypePassing
argComponentIMBA2_SDK_Componentvalue
argFaceIMBA2_SDK_Facevalue

Returns: double

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

MeasureDistanceFaceToFace​

No description yet.

double MeasureDistanceFaceToFace(IMBA2_SDK_Face argFaceA, IMBA2_SDK_Face argFaceB);
double MeasureDistanceFaceToFace(object argFaceA, object argFaceB);
ParameterTypePassing
argFaceAIMBA2_SDK_Facevalue
argFaceBIMBA2_SDK_Facevalue

Returns: double

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

RemoveMate​

No description yet.

bool RemoveMate(IMBA2_SDK_MatingPair argMate);
bool RemoveMate(object argMate);
ParameterTypePassing
argMateIMBA2_SDK_MatingPairvalue

Returns: bool

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

RemovePart​

No description yet.

bool RemovePart(IMBA2_SDK_Part argPart);
bool RemovePart(object argPart);
ParameterTypePassing
argPartIMBA2_SDK_Partvalue

Returns: bool

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

SetMateOrientation​

No description yet.

void SetMateOrientation(IMBA2_SDK_MatingPair argMate, TMBAMateOrientation argMateOrientation);
void SetMateOrientation(object argMate, int argMateOrientation);
ParameterTypePassing
argMateIMBA2_SDK_MatingPairvalue
argMateOrientationTMBAMateOrientationvalue

Returns: nothing (void)

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

SetMateSettings​

No description yet.

void SetMateSettings(IMBA2_SDK_MatingPair argMate, MBAMateSettings argSettings);
void SetMateSettings(object argMate, IMBAMateSettings argSettings);
ParameterTypePassing
argMateIMBA2_SDK_MatingPairvalue
argSettingsMBAMateSettingsvalue

Returns: nothing (void)

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

SetMateType​

No description yet.

void SetMateType(IMBA2_SDK_MatingPair argMate, TMBAMateType argMateType);
void SetMateType(object argMate, int argMateType);
ParameterTypePassing
argMateIMBA2_SDK_MatingPairvalue
argMateTypeTMBAMateTypevalue

Returns: nothing (void)

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

SetPartTransform​

No description yet.

void SetPartTransform(IMBA2_SDK_Part argPart, MBAMat4 argTransform);
void SetPartTransform(object argPart, IMBAMat4 argTransform);
ParameterTypePassing
argPartIMBA2_SDK_Partvalue
argTransformMBAMat4value

Returns: nothing (void)

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

SetPartTransform_ForPreview​

No description yet.

void SetPartTransform_ForPreview(int argPartId, MBAMat4 argTransform);
void SetPartTransform_ForPreview(int argPartId, IMBAMat4 argTransform);
ParameterTypePassing
argPartIdintvalue
argTransformMBAMat4value

Returns: nothing (void)

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

SetPartTransformByPartId​

No description yet.

void SetPartTransformByPartId(int argPartId, MBAMat4 argTransform);
void SetPartTransformByPartId(int argPartId, IMBAMat4 argTransform);
ParameterTypePassing
argPartIdintvalue
argTransformMBAMat4value

Returns: nothing (void)

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

UpdateAllParts​

No description yet.

void UpdateAllParts();

Returns: nothing (void)

UpdatePart​

No description yet.

void UpdatePart(IMBA2_SDK_Part argPart);
void UpdatePart(object argPart);
ParameterTypePassing
argPartIMBA2_SDK_Partvalue

Returns: nothing (void)

The first overload is an extension method of IMBA2_SDK_DocumentHelper (using EDP;) with typed parameters; the second is declared by the interface.

Inherited members​

Returned by​

IMBA2_SDK_CoreObject.GetDocument