 |
SOLIDWORKS Electrical API
2020.0.5
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)
343 uuid(b1162e20-26cd-11e5-b345-feff819cdc9f),
347 helpstring(
"IEwProjectManufacturerPartManagerX Interface"),
348 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:350
BSTR getManufacturer(EwErrorCode *errorCode)
Get the manufacturer's name.
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
IEwProjectManufacturerPartX findEwProjectManufacturerPartByID(LONG lId, EwErrorCode *errorCode)
return a Manufacturer part according to an ID
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.
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:104
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.
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.
LONG getClassificationID()
Get the classification ID of the manufacturer part.
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
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.