Setting
Get/Set Methods
Return Value or <Value> or <OnFlag>
Comment
Reverse mouse wheel zoom direction
ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swViewReverseWheelZoomDirection)
ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swViewReverseWheelZoomDirection, <OnFlag>)
Boolean value
Specifies whether to reverse a mouse's wheel zoom direction
Zoom to fit when changing to standard views
ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swViewZoomFitAndCenter)
ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swViewZoomFitAndCenter, <OnFlag>)
Specifies whether to zoom-to-fit view when changing to standard views
View rotation - Arrow keys
ISldWorks::GetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swViewRotationArrowKeys)
ISldWorks::SetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swViewRotationArrowKeys, <Value>)
Double value in radians
Specifies angle increment for view rotation when arrow keys are used to rotate model
View rotation - Mouse speed
ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swViewRotationMouseSpeed)
ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swViewRotationMouseSpeed, <Value>)
Integer value from 1 to 100
Specifies the speed of rotation when you use the mouse to rotate the model or assembly component
Transitions - View transition
ISldWorks::GetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swViewAnimationSpeed)
ISldWorks::SetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swViewAnimationSpeed, <Value>)
Double value:
0 = off
>0 - 3 seconds
Specifies animation-like speed when changing views
Transitions - Hide/show component
ISldWorks::GetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swViewTransitionHideShowComponent)
ISldWorks::SetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swViewTransitionHideShowComponent, <Value>)
Double value
Specifies the animation-like speed at which to transition the view when hiding or showing components
Transitions - Isolate
ISldWorks::GetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swViewTransitionIsolate)
ISldWorks::SetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swViewTransitionIsolate, <Value>)
Specifies the animation-like speed at which to transition the view when isolating a component in assemblies and multi-body parts
Transitions - View selector
ISldWorks::GetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swViewSelectorSpeed)
ISldWorks::SetUserPreferenceDoubleValue(swUserPreferenceDoubleValue_e.swViewSelectorSpeed, <Value>)
Specifies the speed of the View selector animation; 0 indicates no animation and the current model is shown in the background; 3.0 is the maximum value
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) 2021 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.