Trimech-Main-Site-Group-Navigation Trimech-Main-Site-Group-Navigation Trimech-Main-Site-Group-Navigation Solid-Solutions-Group-Navigation Javelin-Group-Navigation Solid-Print-Group-Navigation 3DPRINTUK-Group-Navigation Trimech-Enterprise-Solutions-Group-Navigation Trimech-Enterprise-Solutions-Group-Navigation Trimech-Advanced-Manufacturing-Group-Navigation Trimech-Staffing-Solutions-Group-Navigation
With over 35 years of experience, the TriMech Group offers a comprehensive range of design, engineering, staffing and manufacturing solutions backed by experience and expertise that is unrivalled in the industry. The TriMech Group's solutions are delivered by the divisions and brands shown here, use the links above to visit the group's websites and learn more.
x
Search

Using Global Variables for Speed Modelling

Friday October 19, 2012 at 11:28am

Global variables are a useful tool for allowing quick changes to key dimensions within a model. This technique is useful when situations require speed modelling, whether this is during SOLIDWORKS exams or to quickly produce variations of a design for your CAD manager.


Global Variables can be found in the Equations interface under, Tools > Equations. This menu has had a revamp since SOLIDWORKS 2012 version.


For this example I have modelled a simple screwdriver, with a global variables added to change the values for “Shaft Length” and “Head Width”.

To ensure that the shaft remains thick enough for any sized Head Width, there has been an equation added to the shaft diameter. This ensures that the shaft is always 1.5 x “Head Width”.

To apply this to a sketch dimension, double click the dimension to bring up the Modify box. Insert an equal sign and choose the appropriate global variable. When in this mode, normal mathematical functions (+, -, /, *) can be applied as well as more complex functions (Cos, Tan, If, etc)



To apply a global variable to a feature, the Feature Dimensions need to be shown. This is done by right clicking on the Annotations folder in the Feature Manager Design Tree and selecting “Show Feature Dimensions”. When the dimensions are visible, double click it and edit the modify box in the same method as for a sketch dimension.
However this is changing in SOLIDWORKS 2013, allowing equations to be entered as the feature is applied.



After the global variables have been applied, they can be easily changed in the equations interface. This will update the model allowing for quick changes. In the examples below I have changed the “Shaft Length” from 400mm to 250mm and the “Head Width” from 10mm to 18mm. From changing these dimensions I can quickly produce multiple sizes of screwdrivers.



During SOLIDWORKS Certifications, this method can be used to quickly change dimensions for continuing questions with different dimensions.


If you are interested in becoming a Certified SOLIDWORKS user, there is a usual webcast on SolidSolutions.tv, which runs through a past exam question. The link for this can be found below.


http://www.solidsolutions.tv/solidworks-Webcast-Wednesday/Videos/Certify-your-SOLIDWORKS-Skills.aspx


Richard Earley
Applications Engineer

Related Blog Posts

Major Updates to SOLIDWORKS Electrical 2025
Discover the three most important updates to SOLIDWORKS Electrical 2025.
Windows 10 End of Life Announced!
Dassault Systemes plan to end support for SOLIDWORKS products on Windows 10 at the same time as Microsoft stops providing support for both users and software developers...
How to Use the Mate Controller in SOLIDWORKS to Cr
Discover the secret to programming robotic motion and how the Mate Controller helps you to create assemblies quickly in SOLIDWORKS.

 Solid Solutions | Trimech Group

MENU
Top