Use this interface to manage manufacturer part inside a project. More...
Use this interface to manage manufacturer part inside a project.
Get the file path of the associated 3D part.
Get the adjustable length of the manufacturer part.
If the object is not adjustable, the depth is returned
Get the value of a translated text.
Get the classification of the current manufacturer part.
Get the classification ID of the manufacturer part.
Get the depth of the manufacturer part.
Get the manufacturer part description.
Get the component to which the manufacturer part is associated.
Get the location to which the manufacturer part is associated.
Get the number of circuits associated to the manufacturer part.
Check if current manufacturer part is to exclude from bill of materials.
Get external identifier.
Get the Harness ID associated with the manufacturer part.
Return -1 if the current manufacturer part is not associated to a harness.
Get the height of the manufacturer part.
Get the length of the manufacturer part.
Get the manufacturer's name.
Return the Object ID associated with the manufacturer part.
Could be Component, Location or Harness.
Get the reference name of this manufacturer part.
Get user data of the object Project must be opened to be able to call this method.
Get the width of the manufacturer part.
Check if the manufacturer part is a rail or a duct.
Set the value of a translated text.
Set the setClassification of the current manufacturer part by classification id.
Set if current manufacturer part is to exclude from bill of materials.
Set the external identifier.
Set the Harness ID of this manufacturer part.
manufacturer part will be added to the harness after calling update or insert. Harness must exists to be able to set the ID. Setting the ID to -1 will remove the manufacturer part from the harness.
Sets the ID of the object to associate with the manufacturer part.
Object associated with the ID must exists. Can only be done before inserting the manufacturer part. Could be Component, Location or Harness.
Set the value of a translated text Project must be opened to be able to call this method.
Set user data of the object Project must be opened to be able to call this method.
Provide feedback on this topic
SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.
* Required
Thank you for your comments. We will contact you if we have questions regarding your feedback.
Sincerely,The SOLIDWORKS Documentation Team
Print Topic
Select the scope of content to print:
We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.
Web Help Content Version: API Help (English only) 2022 SP05 To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help. To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.