file management 6

SOLIDWORKS File Management

File management is always essential in a company especially when it is involved in any engineering process.

SOLIDWORKS is a software which requires a proper file management in order to save time and increase the efficiency in every task.

file management

 

Have you ever seen this message when you are working on an assembly in SOLIDWORKS? This happens when there is a broken reference between the SOLIDWORKS files. It is a common issue faced by a lot of SOLIDWORKS users especially when a proper file management system is not used.
To avoid this issue, first we have to understand the file structure of SOLIDWORKS files.
Understand SOLIDWORKS Files
A SOLIDWORKS file is structured to be a single point database, meaning that each piece of information is stored in only one file. If a file requires an information from another file, it needs to refer to the file where the information is stored instead of copying the entire information. This will create external references, which are the links between the SOLIDWORKS documents.
For example, when a part is used in an assembly, the assembly refers to the part rather than copying the information to itself. This in turn will keep the file of assemblies at a minimum size.
file management2

 

 

 

 

 

 

 

 

Broken Reference
A problem will arise when there is a broken reference between the files. This usually happens when a file was moved or renamed. Due to this, SOLIDWORKS is unable to locate the current file location or even its new given name.
As a result, an error message will pop out and it will notify that:
• You renamed the file & SOLIDWORKS does not know the new file name
• You renamed the folder & SOLIDWORKS does not know the new path
• You moved the file & SOLIDWORKS does not know where you moved it to
• You deleted the file (which is the worst)

What are the solutions?

When there is a broken reference, what should we do?
Here are the 3 steps to take in order to recover a broken reference in SOLIDWORKS:
a) Open the model in RAM
One way to re-establish an assembly’s or a drawing file’s lost reference is to open the model in RAM (Provided that the file name is not changed).
b) Manually re-pointing the reference
Re-point the file references by selecting “File > Open” and then select the “References” button.

file management 3file management 4

 

Re-pointing the “References” manually, one at a time is error prone, tedious & time consuming.
c) Manually renaming, moving and replacing file
Right click on a file and select “Rename”

file management 5

 

This method will Update “Where Used” BUT only the file references contained in the same folder, it will not search in any  other folder.

 

file management 6A broken reference can indeed cause a lot of inconveniences. Fortunately, in SOLIDWORKS we have tools to aid our users in file management! This includes SOLIDWORKS Explorer and SOLIDWORKS PDM.
If you wish find out more about SOLIDWORKS’ File Management, please come and join our file management class in March.

 

SOLIDWORKS CAM

Introduction of SOLIDWORKS CAM

In SOLIDWORKS 2018, there’s come a feature where you can get your CAM solution under the same program, known as SOLIDWORKS CAM.  SOLIDWORKS CAM is a 2.5-axis milling and turning solution powered by CAMWorks.

It also offers 3+2 machining as well as full support for configurations, parts, and assembly machining workflows.

SOLIDWORKS CAM Tolerance-Based Machining
SOLIDWORKS CAM supports Tolerance-Based Machining (TBM) which uses MBD Product Manufacturing Information (PMI) or SOLIDWORKS DimXpert Dimensions to choose the most suitable machining strategies.

SOLIDWORKS CAM is the only CAM solution that can leverage PMI data.

 

SOLIDWORKS CAM Feature Recognition
Automatic Feature Recognition generates the features found on the geometry in order to simulate tool paths.

This could save time from creating every tool path manually.

SOLIDWORKS CAM does not look at the SOLIDWORKS features found within the part, it analyses the geometry in order to apply its own machining features. This means that the automation powers of SOLIDWORKS CAM can be used on imported models too.

SOLIDWORKS CAM comes in 2 Packages:

SOLIDWORKS CAM Standard SOLIDWORKS CAM Professional

– 2.5 axis

– Parts Only

– Tolerance Based Machining

– Available to all SOLIDWORKS 2018 users

– 2.5 axis

– Parts

– Assemblies

– Tolerance Based Machining

– High Speed Machining

– Turning

– 3+2 Machining

– Purchased separately

 

SOLIDWORKS CAM provides powerful knowledge based CNC Programming for Part and Assembly, Milling and Turning, that delivers a single solution from design to manufacture.

Now you can integrate your design and manufacturing processes in SOLIDWORKS all under one system!

simulation

AI Technology: SOLIDWORKS SIMULATION

“Technology is fast changing”. That is the view we commonly hear about ever since the computer age. Looking back at history of technology, human moved from “hunter-gatherer age” to “agriculture age” about 12,000 years ago; to “industrial age” about 150 years ago; to “computer age” about 50 years ago; and now we are in “mobile age” which start about 10 years ago.  By this inclination, I can say it is accelerating towards a stagnation point before a new unknown wave of technology takes over. Part of the new wave, technology is moving toward “Augmented Age” now.  “Augmented Age” makes use of AI to provide customized solutions, products or services which will be much preferred and accepted than the standardize ones.

And the timing is right!

In SOLIDWORKS SIMULATION 2018, user will be equipped with more capabilities to customize solutions. Topology study is algorithm embedded as a tool to optimize shape and material use for a given goal and geometric constraints. It is available in SOLIDWORKS Simulation Professional and SOLIDWORKS Simulation Premium.

 

“The topology study performs non-parametric topology optimization of parts. Starting with a maximum design space (which represents the maximum allowed size for a component) and considering all applied loads, fixtures, and manufacturing constraints, the topology optimization seeks a new material layout, within the boundaries of the maximum allowed geometry, by redistributing the material. The optimized component satisfies all the required mechanical and manufacturing requirements. With a Topology study, you can set a design goal to find the best strength to weight ratio, minimize the mass, or reduce the maximum displacement of a component.”

Knowing the optimum shape, optimized design can be easily constructed.

Weldment Profile

Create your own Weldment Profile

Sometimes we may need to create our own weldment profile based on our design.

Here are the procedures for us to create our profile in SOLIDWORKS.

  1. Create the sketch of the profile in a part file.

Weldment Profile 2. Preselect the Sketch1 in the Feature Manager Tree and Save as

Feature Manager Tree

 

 

 

 

Feature Manager Tree

 

 

 

 

 

 

3. Change the “Save as type:” to Lib Feat Part (*.SLDLFP) and save in

C:\Program Files\SOLIDWORKS 20XX\SOLIDWORKS\lang\english\weldment profiles

weldment profiles

 

4. Now your profile is available in the weldment profile! weldment profile

 

solidworks 2018

SOLIDWORKS 2018 What’s New- part 4

Counting Down

Are you excited about the launching of SOLIDWORKS 2018?

We are all hyped up with this coming SOLIDWORKS Innovation Day 2018 on October!

Have you registered yourself?

Quickly register yourself from the link below before all the seats are fully occupied.

http://www.cad-vision.com.my/cvsswid2018-registration/ ( Limited Seats!))

Let’s take a look on the preview of SOLIDWORKS 2018 What’s New!

Topology study 

solidworks 2018What if a computer can suggest an optimum shape? Topology Study is a new Design Guidance study type that adds Simulation technology which help you to optimize design form. It will be great way to leverage your topology study results with Simulation Display in SOLIDWORKS. You can overlay the mesh or material mass plot and use this to guide traditional feature creation – like a sketch picture, only in 3D.

Visualize

Since 2016, SOLIDWORKS Visualize brings the future of rendering to our customer. Now, SOLIDWORKS Visualize 2018 helps you to create even more compelling experiences for your customers. You’re your customer to a fascinating journey to imagine and engage with your products well before they go into production.

solidworks 2018

SOLIDWORKS Manage

SOLIDWORKS PDM is always one of our popular product in data management but feeling not enough? In 2018 we proud to bring you a higher level file management product, SOLIDWORKS Manage. It provides an easy upgrade path from SOLIDWORKS PDM Professional or Standard to a distributed data management system that can be utilized by many different groups within an organization to deliver cohesive information to all areas of their business.

solidworks 2018

eDrawing

Having problems to view files from supplier or customer? eDrawing is always a great tool to collaborate in a multi-CAD environment. In eDrawing we consistently bring our user to an easier and less errors method to read different files. Now, eDrawings 2018 introduces many new enhancements to make collaboration with suppliers and manufacturers simpler and more powerful.

solidworks 2018

 

 

 

Stay tuned for more information about  our Innovation Day 2018!

 

 

SOLIDWORKS CAM

SOLIDWORKS 2018 What’s New- part 3

Counting Down

Are you excited about the launching of SOLIDWORKS 2018?

We are all hyped up with this coming SOLIDWORKS Innovation Day 2018 on October!

Have you registered yourself?

Quickly register yourself from the link below before all the seats are fully occupied.

http://www.cad-vision.com.my/cvsswid2018-registration/ ( Limited Seats!))

Let’s take a look on the preview of SOLIDWORKS 2018 What’s New!

Amazing SOLIDWORKS 2018 can generate g-code for CNC programming right now, which is SOLIDWORKS CAM!!!!!

SOLIDWORKS CAM delivers fully integrated

SOLIDWORKS CAM

 

SOLIDWORKS CAM generates machining information fast.   Using Automatic feature recognition, standard operations and strategies defined with your own best practices including step over, cut depth, tool type and size are instantly applied to the model, freeing up your time to focus on critical areas of the part.

 

At any time, additional machining operations can be manually created using the SOLIDWORKS model geometry. SOLIDWORKS CAM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Using SOLIDWORKS CAM’s powerful simulation capabilities, cutter paths can be previewed and compared against the original model, helping you identify any potential problems.

SOLIDWORKS CAM

 

Excited about the new SOLIDWORKS CAM? Stay tuned for more information about SOLIDWORKS CAM in our Innovation Day 2018!

To be continued…

 

SOLIDWORKS 2018

SOLIDWORKS 2018 What’s New- part 2

Counting Down

Are you excited about the launching of SOLIDWORKS 2018?

We are all hyped up with this coming SOLIDWORKS Innovation Day 2018 on October!

Have you registered yourself?

Quickly register yourself from the link below before all the seats are fully occupied.

http://www.cad-vision.com.my/cvsswid2018-registration/ ( Limited Seats!))

Let’s take a look on the preview of SOLIDWORKS 2018 What’s New!

 

Can I mirror my 3D sketch?

Yes, now you can mirror 3D and yet maintain the symmetric relations – modify the original sketch, mirror entities are updated.

Planes can now use as the mirror reference in both 2D and 3D sketch.

 

 

 

 

 

 

 

 

 

 

 

Use a single feature to create rotate pattern?

Optional rotation for linear pattern saves your time by easy steps. Just set the number of instances, rotation reference and incremental angle.

 

 

 

 

 

SOLIDWORKS 2018 allows two concentric mates to solved correctly, by having the ‘MISALIGNED mates’, either by maintaining the concentricity of either mates or shifting the component symmetrically between them.

You can also set the maximum allowable deviation of the Concentric Mate by number or use document property.

With SOLIDWORKS 2018, Smart Explode Line tool enable you to automatically create the exploded line for exploded view. When you modify the Exploded View, Exploded Lines update instantly, keeping everything accurate and up to date.

 

 

 

 

 

 

 

In SOLIDWORKS 2018, magnetic mates now support multiple ground planes, by just activate it in the feature manager tree, new insert component will auto snap onto the activated plane. 

 

 

 

 

 

 

You can now easily change the connection points of magnetic mate by using open and close square brackets.

To be continued…

 

SOLIDWORKS 2018

SOLIDWORKS 2018 What’s New- part 1

Counting Down

Are you excited about the launching of SOLIDWORKS 2018?

We are all hyped up with this coming SOLIDWORKS Innovation Day 2018 on October!

Have you registered yourself?

Quickly register yourself from the link below before all the seats are fully occupied.

http://www.cad-vision.com.my/cvsswid2018-registration/ ( Limited Seats!))

Let’s take a look on the preview of SOLIDWORKS 2018 What’s New!

SOLIDWORKS 2018

 

New user friendly Welcome Screen that gives user more control.

solidworks 2018

 

Logging in to My.solidworks has never been so easy!

You can now directly access your My.SOLIDWORKS account from the SOLIDWORKS user interface.

mouse gesture

 

 

 

 

 

 

 

 

 

 

 

 

Is that a mouse gesture with 12 gestures?

Isn’t this too good to be true?

solidworks 2018

Ever thought of drawing your sketch in SOLIDWORKS with freehand sketch?

With Touch Sketching, SOLIDWORKS can automatically convert pen strokes to shapes and sketch entities at any time.

solidworks 2018

 

 

 

 

 

 

 

 

 

 

Now 3D Interconnect can support native file format?

New supported file formats: STEP, IGES, ACIS, JT

To be continued…

Subscribe to our blog for more SOLIDWORKS 2018 What’s New!

Stay tuned for our next blog

How to insert an Image into a SOLIDWORKS Drawing

Insert an image into SOLIDWORKS Drawing
Do you always wonder how to insert an image when you’re using SOLIDWORKS Drawing?

Today, I’m going to show a simple way to teach you how to insert an image into a SOLIDWORKS Drawing.

 

1. First, images are typically inserted into a SOLIDWORKS drawing or sheet format using the commands:

  • Insert > Object > Create from File
  • Insert > Picture

Notes: If the image does not get inserted or the image resolution is not good, I usually suggest trying to insert the image using Windows copy and paste commands.

 

2. In the example seen here, the first attempt to insert an image as an object created from a .png file did not work; instead of a logo, only its file name was inserted.

As a workaround, the logo was copied directly from the image editor (Ctrl-C) and pasted into the SOLIDWORKS drawing (Ctrl-V).

 

3. Second option you can try is using Insert > Picture.

This option is much easier and you can direct edit how is the final orientation and transparency of the picture.

 

4. Finally, you can see the logo will appear in the drawing file.

 

 

Enjoy the trick!

Do not hesitate to let us know if you would like to know more. =)

Automating Your Repetitive Task

Automating Your Repetitive Task

Hi there, are you doing the same repeating process everyday with SOLIDWORKS? Ever thought of writing your own API macro to automate your design process and make your life easier?

“Oh no, API macro seems to be far-fetched.”

“I can’t do this.”

“This requires programming knowledge.”

Above is the typical response when normal people would react to the situation.

 

Today, I’m going to show a simple way to write your own API macro. So, let’s get started.

1. First, let us enable our “Macro Toolbar” first. Navigate to Tools > Customize > Toolbars > Macro.

 

2. The Macro Toolbar will pop out upon the configuration is done.

3. Then, we will start by clicking “Record/Pause Macro”. This will record every action/command you execute in SOLIDWORKS.

4. Just proceed by creating a cube 100mmx100mmx100mm.

Here’s how I did it.

i) Sketch a rectangle on Top Plane by using center rectangle.

ii) Smart dimension the edges to 100mm x 100mm.

iii) Make an extrusion of 100 mm.

 

5. Click the button again to stop the recording and save the macro (.swp).

 

6. Click the Edit Macro.

7. Browse to the location and open the .swp file.

 

8. Here’s how it looked.

It might look complicated now, but not to worry.

Not all of the commands recorded are useful to us.

Let’s take a closer look.

Red Font:            Command such as navigation, zoom in/out, orientation and etc.

These lines can be removed.

Blue Font:           Description and my comments.

 

Declaration

Dim swApp As Object

Dim Part As Object

Dim boolstatus As Boolean

Dim longstatus As Long, longwarnings As Long

Programming main body

Sub main()

Set swApp = Application.SldWorks

Set Part = swApp.ActiveDoc

‘ Pan

Dim swModelView As Object

Set swModelView = Part.ActiveView

swModelView.TranslateBy -5.44138211382114E-02, 1.40422764227642E-02

Select Top plane

boolstatus = Part.Extension.SelectByID2(“Top”, “PLANE”, 0, 0, 0, False, 0, Nothing, 0)

boolstatus = Part.Extension.SelectByID2(“Top”, “PLANE”, 0, 0, 0, False, 0, Nothing, 0)

Create new sketch

Part.SketchManager.InsertSketch True

Part.ClearSelection2 True

Rectangle method

boolstatus = Part.Extension.SetUserPreferenceToggle(swUserPreferenceToggle_e.swSketchAddConstToRectEntity, swUserPreferenceOption_e.swDetailingNoOptionSpecified, True)

boolstatus = Part.Extension.SetUserPreferenceToggle(swUserPreferenceToggle_e.swSketchAddConstLineDiagonalType, swUserPreferenceOption_e.swDetailingNoOptionSpecified, True)

Dim vSkLines As Variant

vSkLines = Part.SketchManager.CreateCenterRectangle(0, 0, 0, 6.57860557231552E-02, 3.72371080139373E-02, 0)
Change the this line to:

vSkLines = Part.SketchManager.CreateCenterRectangle(0, 0, 0, 0.05, 0.05, 0)

Part.SketchManager.CreateCenterRectangle(X1, Y1, Z1, X2, Y2, Z2)

X1:          X coordinate for point 1

Y1:          Y coordinate for point 1

Z1:          Z coordinate for point 1

X2:          X coordinate for point 2

Y2:          Y coordinate for point 2

Z2:          Z coordinate for point 2

Note: Unit is in meter. 50mm = 0.05m

 

Part.ClearSelection2 True

boolstatus = Part.Extension.SelectByID2(“Line3”, “SKETCHSEGMENT”, 0.045725660833492, 0, -3.74878629500581E-02, False, 0, Nothing, 0)

Smart dimensioning, these lines can be removed.

Dim myDisplayDim As Object

Set myDisplayDim = Part.AddDimension2(3.46924436441772E-02, 0, -4.97748548199768E-02)

Part.ClearSelection2 True

Dim myDimension As Object

Set myDimension = Part.Parameter(“D1@Sketch1”)

myDimension.SystemValue = 0.1

boolstatus = Part.Extension.SelectByID2(“Line4”, “SKETCHSEGMENT”, 4.92376653886166E-02, 0, -1.59137350126284E-02, False, 0, Nothing, 0)

Set myDisplayDim = Part.AddDimension2(6.86771979788932E-02, 0, -1.36267311784782E-02)

Part.ClearSelection2 True

Set myDimension = Part.Parameter(“D2@Sketch1”)

myDimension.SystemValue = 0.1

Orienting the view

‘ Named View

Part.ShowNamedView2 “*Trimetric”, 8

Part.ViewZoomtofit2

Extrusion

Dim myFeature As Object

Set myFeature = Part.FeatureManager.FeatureExtrusion2(True, False, False, 0, 0, 0.1, 0.01, False, False, False, False, 0, 0, False, False, False, False, True, True, True, 0, 0, False)

Part.FeatureManager.FeatureExtrusion2(Sd, Flip, Dir, T1, T2, D1, D2, Dchk1, Dchk2, Ddir1, Ddir2, Dang1, Dang2, OffsetReverse1, OffsetReverse2, TranslateSurface1, TranslateSurface2, Merge, UseFeatScope, UseAutoSelect, T0, StartOffset, FlipStartOffset)

We don’t have to change anything in here. Just be noted that D1 is your extrusion depth.

Part.SelectionManager.EnableContourSelection = False

 

‘ Zoom In/Out (MouseWheel)

Set swModelView = Part.ActiveView

swModelView.Scale2 = 1.23042274534665

Dim swTranslation() As Double

ReDimswTranslation(0 To 2) As Double

swTranslation(0) = 0.015763782810772

swTranslation(1) = -2.03275121193373E-04

swTranslation(2) = 6.11078829631178E-04

Dim swTranslationVar As Variant

swTranslationVar = swTranslation

Dim swMathUtils As Object

Set swMathUtils = swApp.GetMathUtility()

Dim swTranslationVector As MathVector

Set swTranslationVector = swMathUtils.CreateVector((swTranslationVar))

swModelView.Translation3 = swTranslationVector

 

‘ Zoom In/Out (MouseWheel)

Set swModelView = Part.ActiveView

swModelView.Scale2 = 1.02535228778888

ReDimswTranslation(0 To 2) As Double

swTranslation(0) = 0.018235169376766

swTranslation(1) = -1.69395934327809E-04

swTranslation(2) = 5.09232358025981E-04

swTranslationVar = swTranslation

Set swMathUtils = swApp.GetMathUtility()

Set swTranslationVector = swMathUtils.CreateVector((swTranslationVar))

swModelView.Translation3 = swTranslationVector

 

‘ Zoom In/Out (MouseWheel)

Set swModelView = Part.ActiveView

swModelView.Scale2 = 0.854460239824065

ReDimswTranslation(0 To 2) As Double

swTranslation(0) = 2.02946581817611E-02

swTranslation(1) = -1.41163278606512E-04

swTranslation(2) = 4.24360298354985E-04

swTranslationVar = swTranslation

Set swMathUtils = swApp.GetMathUtility()

Set swTranslationVector = swMathUtils.CreateVector((swTranslationVar))

swModelView.Translation3 = swTranslationVector

Part.ClearSelection2 True

boolstatus = Part.Extension.SketchBoxSelect(“0.000000”, “0.000000”, “0.000000”, “0.000000”, “0.000000”, “0.000000”)

 

‘ Pan

Set swModelView = Part.ActiveView

swModelView.TranslateBy -1.62990708478513E-02, -2.68307781649245E-02

 

End Sub

 

It should look something like this in the end:

 

Dim swApp As Object

 

Dim Part As Object

Dim boolstatus As Boolean

Dim longstatus As Long, longwarnings As Long

 

Sub main()

 

Set swApp = Application.SldWorks

 

Set Part = swApp.ActiveDoc

 

Dim swModelView As Object

Set swModelView = Part.ActiveView

boolstatus = Part.Extension.SelectByID2(“Top”, “PLANE”, 0, 0, 0, False, 0, Nothing, 0)

Part.SketchManager.InsertSketch True

Part.ClearSelection2 True

boolstatus = Part.Extension.SetUserPreferenceToggle(swUserPreferenceToggle_e.swSketchAddConstToRectEntity, swUserPreferenceOption_e.swDetailingNoOptionSpecified, True)

boolstatus = Part.Extension.SetUserPreferenceToggle(swUserPreferenceToggle_e.swSketchAddConstLineDiagonalType, swUserPreferenceOption_e.swDetailingNoOptionSpecified, True)

Dim vSkLines As Variant

vSkLines = Part.SketchManager.CreateCenterRectangle(0, 0, 0, 0.05, 0.05, 0)

Part.ClearSelection2 True

 

Part.ShowNamedView2 “*Trimetric”, 8

Part.ViewZoomtofit2

Dim myFeature As Object

Set myFeature = Part.FeatureManager.FeatureExtrusion2(True, False, False, 0, 0, 0.1, 0.01, False, False, False, False, 0, 0, False, False, False, False, True, True, True, 0, 0, False)

Part.SelectionManager.EnableContourSelection = False

End Sub

 

9. Now, let us create a macro button for this action. Navigate to Tools > Customize > Commands > Macro.  Drag the “New Macro Button” to your toolbar.

 

10. Then, press the “…” and browse to the previous .swp file. Under Tooltip, type in Cube. And press okay.

11. Previously the file is in blank icon. And now it should look like this.

Now this is a really simple task for you to try the macro out.

What API macro can do is far more than this.

Feel free to explore more on API macro capabilities.

You can download the .swp file from here:

Macro1.swp

Have fun!

Let us know if you would like to know more. =)