SOLIDWORKS does not synchronize property values between models and drawings on its own. For example, if a drawing note or field uses the $PRPSHEET method to link to a model property, the value present at the time the drawing is saved is cached inside the drawing. This is viewable in eDrawings. If the linked model property is changed while the drawing is closed, the new value will not be viewable in eDrawings. The eDrawings viewer can only access the properties of the immediate document it is viewing. To get these model properties to stick in the drawings we either need to make sure we always have the model and drawing open and editable at the same time, or employ an outside method of synchronization.
Properties in PDM
SOLIDWORKS PDM uses variable attributes to map data card variable values to the Custom Properties of our SOLIDWORKS files. This is a bidirectional link that will write to the file if the card value changes. You will observe in PDM that edits to card variables with these attribute mappings established require the file be checked out and will increment the version of the file on check in, since those edits are in fact changing the file. These attribute mappings are where we can establish a link between the model properties and the drawing properties. Examine our example variable and its attributes.
You will note that a CustomProperty attribute for all SOLIDWORKS extensions is accompanied by a $PRPSHEET attribute for drawings. Under very specific conditions these settings will copy the model variable value to the drawing variable, writing it into the drawing’s Custom Property. This link is global to the variable for your entire vault. If you require that some drawings do not carry the values of their models this link will not work, and you may need to look at other methods of synchronization, or use another variable.
The specific conditions enabling this synchronization are:
The drawing must contain a note linking to the model properties
The data card for the model and the drawing must both contain the variable to be linked
The drawing must be saved in the proper context
These are some possible contexts for saving or check in your drawing:
Save the drawing from SOLIDWORKS in a vault folder with the PDM add-in enabled
Save the drawing from SOLIDWORKS in a vault folder with the PDM add-in disabled
Save the drawing from SOLIDWORKS outside the vault
Check in the drawing from Explorer
Context #1 is the only one that synchronizes these variable values. When using the one model to many drawings option where each drawing represents one model configuration scenario #1 will still always synchronize. This is due to the drawing data card only populating the @ tab with one model configuration’s properties.
If one model produces many configurations where a single drawing file uses multiple sheets to show a single configuration per sheet the trick to maintaining proper links is to set each sheet’s properties to look at a specific view. See the screen capture below.
The variable mappings inside SOLIDWORKS PDM will not assist in this type of configuration-per-sheet link. You will notice the drawing data card has a tab for each sheet, but the referenced model’s configuration properties will not appear there.
Scenarios #2 and #3 will not perform the synchronization. No amount of rebuilding or saving will match the drawing’s custom property with the model’s custom property. The drawing may appear correct, since the notes are pulling from the model’s properties directly. But the eDrawings preview may be incorrect if the drawing has not been opened and saved with the new model property value.
Forcing the Issue Outside PDM
CUSTOMTOOLS Professional is a SOLIDWORKS add-in that provides the synchronization in either direction, from model to drawing, and from drawing to model. This works independently from your PDM environment, so users will need to follow standard vault editing procedures to ensure write access is available, and enabled.
Synchronizing these properties through the data cards in PDM can have some advantages, especially when it comes to searching for those values. Since the drawing sheet tabs typically contain no data specific to them apart from manual entry a special add-in must be employed to carry out this operation. The HAWKWARE team created just such a tool, called Sync Card Variables.
The bounding box is an indispensable piece of reference geometry in SOLIDWORKS, representing the smallest area or volume in which a design can fit. While available in weldment and sheet metal models for many years, creating a bounding box for a standard part has required convoluted workarounds – until now. New in SOLIDWORKS 2018, bounding boxes can be created for standard parts with just a few clicks, enabling you to quickly find the maximum dimensions of your design and use the automatically-generated file properties as needed. To emphasize the utility of the bounding box, an organic shape will be used.
Figure 1 – Standard SOLIDWORKS Part with Organic Geometry
Finding the maximum extents of the design shown above would be an exceptionally difficult task without the use of a bounding box. To create one, simply navigate to Insert -> Reference Geometry -> Bounding Box in the dropdown menus. In the PropertyManager, you’ll find two methods for creating a bounding box. While both methods result in the creation of a 3D sketch and file properties, Best Fit will generate the absolute smallest box in which the design can fit, regardless of orientation, while the Custom Plane option allows for the selection of a planar element to define one of the directions of the box. Additional options allow for a preview of the bounding box, and inclusion of hidden bodies and/or surfaces.
Once created, the bounding box exists as a feature in the Design Tree, and can be edited, suppressed, or hidden like any traditional feature. As changes are made to the model, the bounding box will update parametrically while preserving the original settings, but beware when using the Custom Plane option, as model changes may result in a missing reference.
Creating a bounding box for a part also generates a number of file properties automatically, which can be linked to drawings, or otherwise used just like manually-added properties. Click File Properties in the standard toolbar, then the Configuration Specific tab to view these new properties, which include the length, width, height, and even volume of the bounding box.
It should be noted that for multibody parts, creating a bounding box using this method will include all bodies (unless hidden). As such, it’s not currently possible to create separate bounding boxes for each body individually using the new Bounding Box command. However, there are multiple workarounds available to accomplish this, including saving the bodies to discrete part files, leveraging configurations/display states to show a single body at a time, or following the established workaround for creating bounding boxes prior to 2018. Please see our video on this workaround for more information.
As seen here, SOLIDWORKS 2018 allows for the creation of a bounding box and file properties for standard parts in just a few clicks, and this capability is just one of many exciting new enhancements this year. Be sure to check out our What’s New series for additional blogs and videos on all the new features included in SOLIDWORKS 2018. For more information, check out our YouTube channel, get a SOLIDWORKS 3D CAD quote or contact us at Hawk Ridge Systems today. And don’t forget to attend one of our SOLIDWORKS 2018 Launch Events! Thanks for reading!
If you’re currently using SOLIDWORKS Composer for creating technical documentation and 3D animations then you already know there is no easier tool available for automating the animation process. SOLIDWORKS has now taken this a huge step further by including pre-canned animation templates.
With the new Animation Workshop automatic animation can be easily applied to any part, assembly, or grouping. SOLIDWORKS is once again making life just a little bit easier by automating commonly used actions.
For this blog I am going to be focusing on the new Animation Workshop, located in the Workshops Tab > Publishing > Animation Library. For this entire blog, I will be working in Animation Mode with the Timeline turned on. All settings will be set to default but it is important to note that all properties can be modified before and after the automatic animation is created in order to fully customize the outcome.
The latest enhancement to this Workshop was released with version 2017 SP 3.0.
Currently, there are two animation library groups, Highlight and Motion. The Highlight group controls various properties, such as color, to bring attention to a particular 3D actor. The Motion group adds movement to a 3D actor to show assembly, disassembly, and other movement actions. Under each group, there are several Animation functions. Each highlights or moves the selected model a little differently so play around with them. Also, remember all actions can be adjusted before and after you create the animation directly in the Animation Library Workshop. To edit a Step, click on it and the Create button will change to Update.
These actions not only shave hours off of creating animations but bring the end publication to life, automatically adding clean professional animation movements and highlights that you may not have time to create manually. And why would you want to when it’s automated?
Now let’s apply some animations. There are quite a few pre-set animations that come with the installation of SOLIDWORKS Composer, here we are going to cover a couple of our favourites using the top cover of this drill press.
The first Animation Library feature on the shortlist is Highlight-Focus. Highlight-Focus creates three seconds of animation, causing the top cover to flash five times and then permanently changes to a darker blue color at the end. By pressing the Create button Composer automatically adjusts the keyframes in the timeline to bring a user’s attention to the part and then applies a color change to prepare the user that an action is about to take place.
Now that the user knows something is going to happen to the cover we are going to apply another automatic animation. This next animation is going to be used to remove the cover and hide it so the user knows they need to remove this part before proceeding to the next step. For this, we are going to use Motion-Remove. Motion-Remove will cause the part to flash then translate away from the main assembly and then fade away.
Just like that, a disassembly animation of this cover has been created, taking a 20-minute process down to 30 seconds to develop.
Have you ever wanted to create a pattern of an object in an assembly, but also have every instance slightly rotated from the last? In models such as a spiral staircase, it can be time consuming to create all the features separately to achieve one simple task. For example, first a circle would have to be sketched. Then, a Helix and Spiral would be needed to create the curved shape. After that, a Curve Driven Pattern could be used as the final step. Now with SOLIDWORKS 2018, an enhancement to the Linear Pattern feature in assemblies has been created that allows this to be done in one step!
In 2018, when creating a Linear Pattern, you have the option to add a rotation to each instance simply by checking the Rotate instances box. Select your number of instances, rotational reference as well as the increment angle and you can create various patterning possibilities with different outputs. You also have the option to align rotated instances to the seed instance by checking the Align to seed box. This not only will save time in the creation of your design, but also make it easier to modify in the future by not having to adjust multiple features.
Here are a few examples where I used this new feature in some of my designs. I hope you found this informative. Comment below with ideas for designs you could use this new and cool enhancement on.
This week PTC announced the upcoming release of the newest version of its Vuforia platform for AR development, Vuforia 7. The company says Vuforia 7 will introduce major advancements in the ability to attach digital content to more types of objects and environments, and a new capability for delivering enhanced AR experiences on a wide range of handheld devices.
PTC claims that Vuforia is the world’s most widely used platform for AR development. With support for mobile phones, tablets and eyewear, Vuforia has powered more than 475 million installs of AR apps from the App Store and Google Play. Vuforia Engine, the core of the platform, uses a device’s camera(s) and sensors to function as a digital “eye” inside an app. It “sees” objects and surfaces where content can be placed, and enables developers to create AR experiences using existing development tools.
Vuforia 7 will introduce Model Targets,a new feature for attaching content to objects that have not been recognizable using existing computer vision technology. Model Targets recognize objects by shape, in contrast to existing methods that rely on detailed visual designs typically found on print media, product packaging and many consumer goods. With Model Targets, content can be attached to objects such as automobiles, appliances, and industrial equipment and machinery. Model Targets will enable a new class of AR content that can replace traditional user manuals and technical service instructions.
Jay Wright, President, Vuforia: State of Augmented Reality
Responding to developers, Vuforia 7 will also introduce a new capability for placing content on horizontal surfaces. Vuforia Ground Plane enables content to be placed on the ground, floor or tabletop, whether indoors or outdoors. Vuforia Ground Plane extends the functionality of the Vuforia Smart Terrain feature, first announced in 2013 to take advantage of depth sensing cameras. Vuforia Ground Plane will support a wide range of today’s devices and provides an ideal solution for developers to build visualization apps, ranging from in-home furniture shopping to design review.