Setting
Get/Set Methods
Return Value or <Value> or <OnFlag>
Comment
Save without Costing data
ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveWithoutCostingData)
ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveWithoutCostingData, <OnFlag>)
Boolean value
Specifies whether to save the sheet metal part without any Costing data
Geometry to save:
ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSaveAssemblyAsPartOptions)
ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSaveAssemblyAsPartOptions, swSaveAsmAsPartOptions_e.<Value>)
See swSaveAsmAsPartOptions_e for valid options
Specifies the geometry of an assembly to save as a multi-body part
Preserve geometry references
ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveAsmAsPartPreserveIDs)
ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveAsmAsPartPreserveIDs, <OnFlag>)
Specifies whether to preserve geometry reference IDs when saving an assembly as a part
Save as type - IFC 2x3 or IFC 4
ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSaveIFCFormat)
ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSaveIFCFormat, <Value>)
Specifies the IFC format in which to save a part
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) 2023 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.