 |
SOLIDWORKS Electrical API
2022.0.0
Electrical API
|
Go to the documentation of this file.
4 midl_pragma warning(disable:2111)
11 import "EnumDefinition.idl";
12 import "EwObjectBase.idl";
21 uuid(61f18da4-03bd-11e5-8418-1697f925ec7b),
25 helpstring(
"IEwProjectWireX Interface"),
26 pointer_default(unique)
353 uuid(FC6A488D-6EA7-4800-9035-2F7F4FEA6E61),
356 pointer_default(unique)
BSTR getSignal(EwErrorCode *errorCode)
Get the signal of this wire.
BSTR getSectionOrGauge(EwErrorCode *errorCode)
Get the section or gauge of this wire.
EwErrorCode setNextTagNumber()
Set the next number to have a unique mark.
long getTagNumber(EwErrorCode *errorCode)
Get the mark number of this object.
VARIANT_BOOL isTagUnique(EwErrorCode *errorCode)
Returns true or false if mark is unique.
IEwProjectWireX findEwProjectWireByID(LONG lWireID, EwErrorCode *errorCode)
Find a wire in the project with the target ID.
EwErrorCode setLinearMass(BSTR strLinearMass)
Set the linear mass (density) of this wire.
EwErrorCode setTag(BSTR strValue)
Set the mark of this object.
EwErrorCode setTagMode(EwTagMode eTagMode)
Set the mark mode of this object.
This interface is a generic interface for standard methods.
Definition: EwObjectBase.idl:82
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:21
DOUBLE getDiameter(EwErrorCode *errorCode)
Get the diameter of this wire.
EwErrorCode setUserData(LONG nUserDataNumber, BSTR strValue)
Set user data of the object.
VARIANT getEwProjectWireArray(EwErrorCode *errorCode)
Get all the wires in the project of the manager.
EwErrorCode setDiameter(DOUBLE dValue)
Set the diameter of this wire.
EwErrorCode setTagNumber(long lValue)
Set the mark number of this object.
EwErrorCode setHarnessID(long lHarnessID)
Set the Harness ID of this wire.
BSTR getLinearMass(EwErrorCode *errorCode)
Get the linear mass (density) of this wire.
LONG getHarnessID(EwErrorCode *errorCode)
Get the Harness ID associated at the current wire.
EwErrorCode setWireSizeStandard(EwWireSizeStandard eWireSizeStandard)
Set the wire size standard enum type of this wire.
EwErrorCode setSectionOrGauge(BSTR strValue)
Set the section or gauge of this wire.
EwErrorCode setSignal(BSTR strValue)
Set the signal of this wire.
EwErrorCode setTagRoot(BSTR strValue)
Set the mark root of this object.
EwTagMode
All Mark mode type.
Definition: EwEnumeration.idl:765
Use this interface to manage IEwProjectWireX objects.
Definition: EwProjectWireObjects.idl:358
DOUBLE getLength(EwErrorCode *pErrorCode)
Get the lenght of the current wire.
EwErrorCode setLength(DOUBLE dLength)
BSTR getTag(EwErrorCode *errorCode)
Get the mark of this object.
Use this interface to manage wire inside a project.
Definition: EwProjectWireObjects.idl:29
IEwProjectWireX newEwProjectWire(EwErrorCode *errorCode)
Create an interface for a new wire in the current project.
BSTR getUserData(LONG nUserDataNumber, EwErrorCode *errorCode)
Get user data of the object.
EwWireSizeStandard getWireSizeStandard(EwErrorCode *errorCode)
Get the wire size standard enum type of this wire.
EwTagMode getTagMode(EwErrorCode *errorCode)
Get the mark mode of this object.
EwWireSizeStandard
Wire size standard type.
Definition: EwEnumeration.idl:611
BSTR getTagRoot(EwErrorCode *errorCode)
Get the mark root of this object.