Hide Table of Contents

System Options > Assemblies

 

Setting

Get/Set Method

Return Value
or
<Value>
or
<OnFlag>

Comment

Move components by dragging

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swAssemblyAllowComponentMoveByDragging)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swAssemblyAllowComponentMoveByDragging, <OnFlag>)

Boolean value

Specifies whether to move assembly components by dragging them or using the Move with Triad and Move Component tools

Prompt before changing mate alignments on edit

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swPromptForAutoMateFlip)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swPromptForAutoMateFlip, <OnFlag>)

Boolean value

Specifies whether to prompt before automatically flipping a mate to avoid errors

Optimize component placement when adding mates

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swOptimizeMatePlacement)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swOptimizeMatePlacement, <OnFlag>)

Boolean value

 

 

Allow creation of misaligned mates

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swAssemblyAllowCreationOfMisalignedMates)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swAssemblyAllowCreationOfMisalignedMates, <OnFlag>)

Boolean value

Specifies whether to allow the creation of misaligned mates in assemblies

Save new components to external files

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveNewComponentsToExternalFile)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveNewComponentsToExternalFile, <OnFlag>)

Boolean value

Specifies whether to save new components to external files

Update model graphics when saving files

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swAssemblyUpdateModelGraphicsWhenSavingFiles)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swAssemblyUpdateModelGraphicsWhenSavingFiles, <OnFlag>)

Boolean value

Specifies whether to update model graphics when saving files

Automatically check and update all components in Large Design Review

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeAutoCheckUpdateAllComponents)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeAutoCheckUpdateAllComponents, <OnFlag>)

Boolean value

Specifies whether to automatically check and update all components in Large Design Review

Allow graphics component

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swAssemblyAllowGraphicsComponent)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swAssemblyAllowGraphicsComponent, <OnFlag>)

Boolean value

Valid only if registry setting, "Software\\SolidWorks\\SOLIDWORKS\\2018\\Assemblies\\ShowAllGraphics, is set to true

Update out-of-date Speedpak configurations when saving files

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceToggle_e.swUpdateOutOfDateSpeedPakConfigOnSave)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceToggle_e.swUpdateOutOfDateSpeedPakConfigOnSave, swSpeedpakUpdate_e.<Value>)

Integer value as defined in swSpeedpakUpdate_e

Specifies under what conditions to update out-of-date Speedpak configurations when saving files

Opening large assemblies - Use Large Assembly Mode to improve performance when the assembly contains more than this number of components

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeEnabled)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeEnabled, <OnFlag>)

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swLargeAsmModeThreshold)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swLargeAsmModeThreshold, <Value>)

Boolean value

 

 

Integer value

Specifies whether to activate Large Assembly Mode

 

 

Specifies the minimum number of components in an assembly for automatically using Large Assembly Mode

Opening large assemblies - Use Large Design Review when the assembly contains more than this number of components

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeLargeDesignReview)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeLargeDesignReview, <OnFlag>)

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swLargeAsmModeLargeDesignReviewThreshhold)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swLargeAsmModeLargeDesignReviewThreshhold, <Value>)

Boolean value

 

 

Integer value

Specifies whether to automatically use Large Design Review based on the number of components in the assembly; see swLargeAsmModeLargeDesignReviewThreshhold

 

Specifies the minimum number of components in an assembly for automatically using Large Design Review

When Large Assembly Mode is active - Do not save auto recover info

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeAutoRecover)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeAutoRecover, <OnFlag>)

Boolean value

Specifies whether to automatically save model information after specified number of changes

When Large Assembly Mode is active - Do not rebuild when switching to assembly window

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeDismissAutoUpdate)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeDismissAutoUpdate, <OnFlag>)

Boolean value

Specifies whether to rebuild when switching to the assembly window

When Large Assembly Mode is active - Hide all planes, axes, sketches, curves, annotations, etc.

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeHideAllItems)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeHideAllItems, <OnFlag>)

Boolean value

Specifies whether to hide all planes, axes, sketches, curves, annotations, etc.

When Large Assembly Mode is active - Do not display edges in shaded mode

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeUseHLREdgesInShaded)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeUseHLREdgesInShaded, <OnFlag>)

Boolean value

Specifies whether to use HLR edges in shaded mode

When Large Assembly Mode is active - Do not preview hidden component

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModePreviewHiddenComponent)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModePreviewHiddenComponent, <OnFlag>)

Boolean value

Specifies whether to not preview hidden components

When Large Assembly Mode is active - Disable verification on rebuild

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeVerificationOnRebuild)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeVerificationOnRebuild, <OnFlag>)

Boolean value

Specifies whether to disable verification on rebuild

When Large Assembly Mode is active - Optimize image quality for better performance

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeImageQualityPerformance)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeImageQualityPerformance, <OnFlag>)

Boolean value

Specifies whether to optimize image quality for better performance

When Large Assembly Mode is active - Suspend automatic rebuild

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeSuspendAutoRebuild)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLargeAsmModeSuspendAutoRebuild, <OnFlag>)

Boolean value

Specifies whether to suspend automatic rebuilds

Envelope Components - Automatically load lightweight

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLoadEnvelopeLightweight)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLoadEnvelopeLightweight, <OnFlag>)

Boolean value

Specifies whether to automatically load envelope components in lightweight mode

Envelope Components - Load read-only

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swLoadEnvelopeReadOnly)

ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swLoadEnvelopeReadOnly, <OnFlag>)

Boolean value

Specifies whether to load envelope components in read-only mode

 



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

 
*Email:  
Subject:   Feedback on Help Topics
Page:   System Options > Assemblies
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

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.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2018 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.