SlideShare a Scribd company logo
Equation driven
Macros
Subtle Ability of SolidWorks
Description
SolidWorks is able to run Macro triggered from
Equations. There are two methods of working with
equation based Macros
By Linking to a Embedded Macro file
By Linking to a External Macro File
Step One
Create the Macro file
Step 2 : Embedding
Right Click “Design Binder ”
Click -> Add Attachment
Browse for the SolidWorks Macro
file
The Macro file gets attached to the
Design Binder
Step 3: Create a Text file
Create a text file
The variable names are arbitrary ,make sure there the variable exist only
once
The arguments for ISldWorks::RunAttachedMacro and
ISldWorks::RunMacro2 need to match your macro name/path, module,
and entry point.
Step 4:Add Equation
In Feature Manager Tree
Right Click Equations Folder
Select Manage Equations..
In Equations Manager ,Select Import option
Browse for the Text File & select Import
The Equation Manager makes it difficult to add
these equations due to the equation checker
disliking the syntax of equations containing
VBA code
Thus Importing the code can be imported by
means of importing a Text File
Step 5:Referencing
“SwApp.RunMacro” can be used to run the Macro file from a external
location.
Enter location of the Macro file ,module and the procedure to be executed
Conclusion
The Macro file gets executed every time the Document gets
Rebuild
This files can be saved as Part Template (.prtdot) or
Assembly Template (.asmdot) and can be reused now and
then for regular process
This never works for drawing file as there is no provision to
add equations
Chennai | Coimbatore | Trichy
Thank You..!
www.egsindia.com | www.egs.co.in
info@egs.co.in 044 2480 3370

More Related Content

Similar to Equation Driven Macros

VT University Live Session 3
VT University Live Session 3VT University Live Session 3
VT University Live Session 3
VisibleThread
 
MS Access Macros
MS Access MacrosMS Access Macros
MS Access Macros
Paul Barnett
 
Do you want to contribute to volto?
Do you want to contribute to volto?Do you want to contribute to volto?
Do you want to contribute to volto?
Alok Kumar Singh
 
ExcelMacros.pptx
ExcelMacros.pptxExcelMacros.pptx
ExcelMacros.pptx
AshishDhiman62
 
Advance MS Excel
Advance MS ExcelAdvance MS Excel
Advance MS Excel
acute23
 
Chapter6 database connectivity
Chapter6 database connectivityChapter6 database connectivity
Chapter6 database connectivity
KV(AFS) Utarlai, Barmer (Rajasthan)
 
Using macros in microsoft access
Using macros in microsoft accessUsing macros in microsoft access
Using macros in microsoft access
Er. Nawaraj Bhandari
 
How Joomla! builds a webpage (annotated)
How Joomla! builds a webpage (annotated)How Joomla! builds a webpage (annotated)
How Joomla! builds a webpage (annotated)
Randy Carey
 
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
vchircu
 
MAD Model Aggregator eDitor (EMF)
MAD Model Aggregator eDitor (EMF)MAD Model Aggregator eDitor (EMF)
MAD Model Aggregator eDitor (EMF)
Sysord
 
Using macros in microsoft excel part 2
Using macros in microsoft excel   part 2Using macros in microsoft excel   part 2
Using macros in microsoft excel part 2
Er. Nawaraj Bhandari
 
An introduction to vba and macros
An introduction to vba and macrosAn introduction to vba and macros
An introduction to vba and macros
Er. Nawaraj Bhandari
 
Learning MVC Part 3 Creating MVC Application with EntityFramework
Learning MVC Part 3 Creating MVC Application with EntityFrameworkLearning MVC Part 3 Creating MVC Application with EntityFramework
Learning MVC Part 3 Creating MVC Application with EntityFrameworkAkhil Mittal
 
Mulesoft connector devkit
Mulesoft connector devkitMulesoft connector devkit
Mulesoft connector devkit
Yamini Saraswathi Narimeta
 
Mulesoft connector devkit
Mulesoft connector devkitMulesoft connector devkit
Mulesoft connector devkit
Nagendra Kumar
 
Ch06 Access
Ch06 AccessCh06 Access
Ch06 AccessD
 
Adobe Marketing Cloud Integration with Adobe AEM
Adobe Marketing Cloud Integration with Adobe AEMAdobe Marketing Cloud Integration with Adobe AEM
Adobe Marketing Cloud Integration with Adobe AEM
Deepak Narisety
 
MCS,BCS-7(A,B) Visual programming Syllabus for Final exams @ ISP
MCS,BCS-7(A,B) Visual programming Syllabus for Final exams @ ISPMCS,BCS-7(A,B) Visual programming Syllabus for Final exams @ ISP
MCS,BCS-7(A,B) Visual programming Syllabus for Final exams @ ISP
Ali Shah
 

Similar to Equation Driven Macros (20)

VT University Live Session 3
VT University Live Session 3VT University Live Session 3
VT University Live Session 3
 
MS Access Macros
MS Access MacrosMS Access Macros
MS Access Macros
 
Do you want to contribute to volto?
Do you want to contribute to volto?Do you want to contribute to volto?
Do you want to contribute to volto?
 
ExcelMacros.pptx
ExcelMacros.pptxExcelMacros.pptx
ExcelMacros.pptx
 
Advance MS Excel
Advance MS ExcelAdvance MS Excel
Advance MS Excel
 
008.module
008.module008.module
008.module
 
Chapter6 database connectivity
Chapter6 database connectivityChapter6 database connectivity
Chapter6 database connectivity
 
Using macros in microsoft access
Using macros in microsoft accessUsing macros in microsoft access
Using macros in microsoft access
 
How Joomla! builds a webpage (annotated)
How Joomla! builds a webpage (annotated)How Joomla! builds a webpage (annotated)
How Joomla! builds a webpage (annotated)
 
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
 
MAD Model Aggregator eDitor (EMF)
MAD Model Aggregator eDitor (EMF)MAD Model Aggregator eDitor (EMF)
MAD Model Aggregator eDitor (EMF)
 
Using macros in microsoft excel part 2
Using macros in microsoft excel   part 2Using macros in microsoft excel   part 2
Using macros in microsoft excel part 2
 
VBA
VBAVBA
VBA
 
An introduction to vba and macros
An introduction to vba and macrosAn introduction to vba and macros
An introduction to vba and macros
 
Learning MVC Part 3 Creating MVC Application with EntityFramework
Learning MVC Part 3 Creating MVC Application with EntityFrameworkLearning MVC Part 3 Creating MVC Application with EntityFramework
Learning MVC Part 3 Creating MVC Application with EntityFramework
 
Mulesoft connector devkit
Mulesoft connector devkitMulesoft connector devkit
Mulesoft connector devkit
 
Mulesoft connector devkit
Mulesoft connector devkitMulesoft connector devkit
Mulesoft connector devkit
 
Ch06 Access
Ch06 AccessCh06 Access
Ch06 Access
 
Adobe Marketing Cloud Integration with Adobe AEM
Adobe Marketing Cloud Integration with Adobe AEMAdobe Marketing Cloud Integration with Adobe AEM
Adobe Marketing Cloud Integration with Adobe AEM
 
MCS,BCS-7(A,B) Visual programming Syllabus for Final exams @ ISP
MCS,BCS-7(A,B) Visual programming Syllabus for Final exams @ ISPMCS,BCS-7(A,B) Visual programming Syllabus for Final exams @ ISP
MCS,BCS-7(A,B) Visual programming Syllabus for Final exams @ ISP
 

More from EGS Computers India Private Limited

Solidworks cam machine setup
Solidworks cam machine setupSolidworks cam machine setup
Solidworks cam machine setup
EGS Computers India Private Limited
 
How to automate your multilevel bill of materials
How to automate your multilevel bill of materials How to automate your multilevel bill of materials
How to automate your multilevel bill of materials
EGS Computers India Private Limited
 
How to Improve your Machine Precision and Performance
How to Improve your Machine Precision and PerformanceHow to Improve your Machine Precision and Performance
How to Improve your Machine Precision and Performance
EGS Computers India Private Limited
 
Powerful Technical Communication Tool - SOLIDWORKS Visualize
Powerful Technical Communication Tool - SOLIDWORKS VisualizePowerful Technical Communication Tool - SOLIDWORKS Visualize
Powerful Technical Communication Tool - SOLIDWORKS Visualize
EGS Computers India Private Limited
 
Marketing & Technical documentation Solution for Valve Industry
Marketing & Technical documentation Solution for Valve IndustryMarketing & Technical documentation Solution for Valve Industry
Marketing & Technical documentation Solution for Valve Industry
EGS Computers India Private Limited
 
SOLIDWORKS 2019 - 50 Enhancement features in 30 mins
SOLIDWORKS 2019 - 50 Enhancement features in 30 mins SOLIDWORKS 2019 - 50 Enhancement features in 30 mins
SOLIDWORKS 2019 - 50 Enhancement features in 30 mins
EGS Computers India Private Limited
 
Creating Digital Experience in PCB Designs 2019
Creating Digital Experience in PCB Designs 2019Creating Digital Experience in PCB Designs 2019
Creating Digital Experience in PCB Designs 2019
EGS Computers India Private Limited
 
Technical Documentation Agricultural Industry
Technical Documentation Agricultural IndustryTechnical Documentation Agricultural Industry
Technical Documentation Agricultural Industry
EGS Computers India Private Limited
 
SOLIDWORKS Network License Manager
SOLIDWORKS Network License  ManagerSOLIDWORKS Network License  Manager
SOLIDWORKS Network License Manager
EGS Computers India Private Limited
 
SOLIDWORKS solutions for valve design
SOLIDWORKS solutions for valve designSOLIDWORKS solutions for valve design
SOLIDWORKS solutions for valve design
EGS Computers India Private Limited
 
4-Point Checklist to Qualify Design Development
4-Point Checklist to Qualify Design Development4-Point Checklist to Qualify Design Development
4-Point Checklist to Qualify Design Development
EGS Computers India Private Limited
 
Design automations simplified using solidworks solutions
Design automations simplified using solidworks solutionsDesign automations simplified using solidworks solutions
Design automations simplified using solidworks solutions
EGS Computers India Private Limited
 
Use of advance hole for die design
Use of advance hole for die designUse of advance hole for die design
Use of advance hole for die design
EGS Computers India Private Limited
 
Solidworks solutions for sales and marketing
Solidworks solutions for sales and marketingSolidworks solutions for sales and marketing
Solidworks solutions for sales and marketing
EGS Computers India Private Limited
 
Solidworks 2017. feature delighters docx
Solidworks 2017. feature delighters docxSolidworks 2017. feature delighters docx
Solidworks 2017. feature delighters docx
EGS Computers India Private Limited
 
Make great design happen with ease of use tools
Make great design happen with ease of use toolsMake great design happen with ease of use tools
Make great design happen with ease of use tools
EGS Computers India Private Limited
 
Ease your Design Tasks in Handling Multi-Bodies & Surfaces
Ease your Design Tasks in Handling Multi-Bodies & SurfacesEase your Design Tasks in Handling Multi-Bodies & Surfaces
Ease your Design Tasks in Handling Multi-Bodies & Surfaces
EGS Computers India Private Limited
 
Beam Analysis using SolidWorks Simulation
Beam Analysis using SolidWorks SimulationBeam Analysis using SolidWorks Simulation
Beam Analysis using SolidWorks Simulation
EGS Computers India Private Limited
 
SOLIDWORKS Costing
SOLIDWORKS CostingSOLIDWORKS Costing
Solution for Manufacturer and Presentation Maker
Solution for Manufacturer and Presentation MakerSolution for Manufacturer and Presentation Maker
Solution for Manufacturer and Presentation Maker
EGS Computers India Private Limited
 

More from EGS Computers India Private Limited (20)

Solidworks cam machine setup
Solidworks cam machine setupSolidworks cam machine setup
Solidworks cam machine setup
 
How to automate your multilevel bill of materials
How to automate your multilevel bill of materials How to automate your multilevel bill of materials
How to automate your multilevel bill of materials
 
How to Improve your Machine Precision and Performance
How to Improve your Machine Precision and PerformanceHow to Improve your Machine Precision and Performance
How to Improve your Machine Precision and Performance
 
Powerful Technical Communication Tool - SOLIDWORKS Visualize
Powerful Technical Communication Tool - SOLIDWORKS VisualizePowerful Technical Communication Tool - SOLIDWORKS Visualize
Powerful Technical Communication Tool - SOLIDWORKS Visualize
 
Marketing & Technical documentation Solution for Valve Industry
Marketing & Technical documentation Solution for Valve IndustryMarketing & Technical documentation Solution for Valve Industry
Marketing & Technical documentation Solution for Valve Industry
 
SOLIDWORKS 2019 - 50 Enhancement features in 30 mins
SOLIDWORKS 2019 - 50 Enhancement features in 30 mins SOLIDWORKS 2019 - 50 Enhancement features in 30 mins
SOLIDWORKS 2019 - 50 Enhancement features in 30 mins
 
Creating Digital Experience in PCB Designs 2019
Creating Digital Experience in PCB Designs 2019Creating Digital Experience in PCB Designs 2019
Creating Digital Experience in PCB Designs 2019
 
Technical Documentation Agricultural Industry
Technical Documentation Agricultural IndustryTechnical Documentation Agricultural Industry
Technical Documentation Agricultural Industry
 
SOLIDWORKS Network License Manager
SOLIDWORKS Network License  ManagerSOLIDWORKS Network License  Manager
SOLIDWORKS Network License Manager
 
SOLIDWORKS solutions for valve design
SOLIDWORKS solutions for valve designSOLIDWORKS solutions for valve design
SOLIDWORKS solutions for valve design
 
4-Point Checklist to Qualify Design Development
4-Point Checklist to Qualify Design Development4-Point Checklist to Qualify Design Development
4-Point Checklist to Qualify Design Development
 
Design automations simplified using solidworks solutions
Design automations simplified using solidworks solutionsDesign automations simplified using solidworks solutions
Design automations simplified using solidworks solutions
 
Use of advance hole for die design
Use of advance hole for die designUse of advance hole for die design
Use of advance hole for die design
 
Solidworks solutions for sales and marketing
Solidworks solutions for sales and marketingSolidworks solutions for sales and marketing
Solidworks solutions for sales and marketing
 
Solidworks 2017. feature delighters docx
Solidworks 2017. feature delighters docxSolidworks 2017. feature delighters docx
Solidworks 2017. feature delighters docx
 
Make great design happen with ease of use tools
Make great design happen with ease of use toolsMake great design happen with ease of use tools
Make great design happen with ease of use tools
 
Ease your Design Tasks in Handling Multi-Bodies & Surfaces
Ease your Design Tasks in Handling Multi-Bodies & SurfacesEase your Design Tasks in Handling Multi-Bodies & Surfaces
Ease your Design Tasks in Handling Multi-Bodies & Surfaces
 
Beam Analysis using SolidWorks Simulation
Beam Analysis using SolidWorks SimulationBeam Analysis using SolidWorks Simulation
Beam Analysis using SolidWorks Simulation
 
SOLIDWORKS Costing
SOLIDWORKS CostingSOLIDWORKS Costing
SOLIDWORKS Costing
 
Solution for Manufacturer and Presentation Maker
Solution for Manufacturer and Presentation MakerSolution for Manufacturer and Presentation Maker
Solution for Manufacturer and Presentation Maker
 

Recently uploaded

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 

Recently uploaded (20)

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 

Equation Driven Macros

  • 2. Description SolidWorks is able to run Macro triggered from Equations. There are two methods of working with equation based Macros By Linking to a Embedded Macro file By Linking to a External Macro File
  • 3. Step One Create the Macro file
  • 4. Step 2 : Embedding Right Click “Design Binder ” Click -> Add Attachment Browse for the SolidWorks Macro file The Macro file gets attached to the Design Binder
  • 5. Step 3: Create a Text file Create a text file The variable names are arbitrary ,make sure there the variable exist only once The arguments for ISldWorks::RunAttachedMacro and ISldWorks::RunMacro2 need to match your macro name/path, module, and entry point.
  • 6. Step 4:Add Equation In Feature Manager Tree Right Click Equations Folder Select Manage Equations.. In Equations Manager ,Select Import option Browse for the Text File & select Import The Equation Manager makes it difficult to add these equations due to the equation checker disliking the syntax of equations containing VBA code Thus Importing the code can be imported by means of importing a Text File
  • 7. Step 5:Referencing “SwApp.RunMacro” can be used to run the Macro file from a external location. Enter location of the Macro file ,module and the procedure to be executed
  • 8. Conclusion The Macro file gets executed every time the Document gets Rebuild This files can be saved as Part Template (.prtdot) or Assembly Template (.asmdot) and can be reused now and then for regular process This never works for drawing file as there is no provision to add equations
  • 9. Chennai | Coimbatore | Trichy Thank You..! www.egsindia.com | www.egs.co.in info@egs.co.in 044 2480 3370