 |
SOLIDWORKS Electrical API
2022.0.0
Electrical API
|
Go to the documentation of this file.
4 midl_pragma warning(disable:2111)
10 import "EnumDefinition.idl";
11 import "EwProjectLocationObjects.idl";
12 import "EwProjectComponentObjects.idl";
20 uuid(70792A44-0983-467D-9D9D-76465608CAAD),
24 helpstring(
"EwProjectManufacturerPartCircuitX Interface"),
25 pointer_default(unique)
37 uuid(CE2D9B08-6AEB-494C-BE28-6672CC3E4821),
41 helpstring(
"IEwProjectManufacturerPartTerminalX Interface"),
42 pointer_default(unique)
55 uuid(1EB3362A-D37A-4E2A-8ED6-D6BB4FCC0CA3),
59 helpstring(
"IEwProjectManufacturerPartX Interface"),
60 pointer_default(unique)
471 uuid(b1162e20-26cd-11e5-b345-feff819cdc9f),
475 helpstring(
"IEwProjectManufacturerPartManagerX Interface"),
476 pointer_default(unique)
DOUBLE getAdjustableLength(EwErrorCode *errorCode)
Get the adjustable length of the manufacturer part.
Use this interface to manage IEwProjectManufacturerPartX objects.
Definition: EwProjectManufacturerPartObjects.idl:478
BSTR getManufacturer(EwErrorCode *errorCode)
Get the manufacturer's name.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
IEwProjectManufacturerPartX newEwProjectManufacturerPart()
Create a IEwProjectManufacturerPartX object from the associated project.
EwErrorCode setExternalID(BSTR strExternalID)
Set the external identifier.
BSTR getDescription(BSTR strLanguageCode, EwErrorCode *errorCode)
Get the manufacturer part description.
VARIANT_BOOL getExcludeFromBillOfMaterials(EwErrorCode *errorCode)
Check if current manufacturer part is to exclude from bill of materials.
LONG getHarnessID(EwErrorCode *errorCode)
Get the Harness ID associated with the manufacturer part.
Use this interface to manage manufacturer part terminal inside a project.
Definition: EwProjectManufacturerPartObjects.idl:44
Use this interface to manage manufacturer part circuit inside a project.
Definition: EwProjectManufacturerPartObjects.idl:27
LONG getEwProjectManufacturerPartCircuitCount(EwErrorCode *errorCode)
Get the number of circuits associated to the manufacturer part.
IEwProjectLocationX getEwProjectLocation(EwErrorCode *errorCode)
Get the location to which the manufacturer part is associated.
BSTR get3DPartFilePath(EwErrorCode *errorCode)
Get the file path of the associated 3D part.
EwErrorCode setUserData(LONG nUserDataNumber, BSTR strValue)
Set user data of the object Project must be opened to be able to call this method.
BSTR getExternalID(EwErrorCode *errorCode)
Get external identifier.
EwErrorCode setArticleNumber(BSTR strArticleNumber)
Set the value of a translated text.
Use this interface to manage a component inside a project.
Definition: EwProjectComponentObjects.idl:298
DOUBLE getDepth(EwErrorCode *errorCode)
Get the depth of the manufacturer part.
Use this interface to manage the location inside a project.
Definition: EwProjectLocationObjects.idl:27
IEwProjectComponentX getEwProjectComponent(EwErrorCode *errorCode)
Get the component to which the manufacturer part is associated.
DOUBLE getHeight(EwErrorCode *errorCode)
Get the height of the manufacturer part.
BSTR getArticleNumber(EwErrorCode *errorCode)
Get the value of a translated text.
VARIANT getEwProjectManufacturerPartArray(EwErrorCode *errorCode)
Get all the manufacturer parts in the manager project.
long getObjectID(EwErrorCode *errorCode)
Return the Object ID associated with the manufacturer part.
VARIANT_BOOL isRailOrDuct(EwErrorCode *errorCode)
Check if the manufacturer part is a rail or a duct.
BSTR getUserData(LONG nUserDataNumber, EwErrorCode *errorCode)
Get user data of the object Project must be opened to be able to call this method.
EwErrorCode setHarnessID(long lHarnessID)
Set the Harness ID of this manufacturer part.
IEwClassificationX getClassification(EwErrorCode *errorCode)
Get the classification of the current manufacturer part.
LONG getClassificationID()
Get the classification ID of the manufacturer part.
IEwProjectManufacturerPartX findEwProjectManufacturerPartByID(LONG lID, EwErrorCode *errorCode)
return a Manufacturer part according to an ID
DOUBLE getWidth(EwErrorCode *errorCode)
Get the width of the manufacturer part.
EwErrorCode setTranslatedData(LONG nUserDataNumber, BSTR strLanguage, BSTR strValue)
Set the value of a translated text Project must be opened to be able to call this method.
DOUBLE getLength(EwErrorCode *errorCode)
Get the length of the manufacturer part.
Use this interface to manage manufacturer part inside a project.
Definition: EwProjectManufacturerPartObjects.idl:62
EwErrorCode setExcludeFromBillOfMaterials(VARIANT_BOOL bIsExcludeFromBOM)
Set if current manufacturer part is to exclude from bill of materials.
BSTR getReference(EwErrorCode *errorCode)
Get the reference name of this manufacturer part.
BSTR getTranslatedData(LONG nUserDataNumber, BSTR strLanguage, EwErrorCode *errorCode)
Get the value of a translated text.
EwErrorCode setObjectID(long lID)
Sets the ID of the object to associate with the manufacturer part.
EwErrorCode setClassificationID(long lClassificationID)
Set the setClassification of the current manufacturer part by classification id.