SlideShare a Scribd company logo
1 of 18
Download to read offline
2017
Fernando Petre, Technical Manager, CAD/PLM Consultant
E: fernando.petre@ADInnovation.ro
M: +40 725 155 588
Some differences in macros between
CATIA V5 and CATIA V6 or 3DEXPERIENCE
2017
Is a well known fact that most of the users would like to do some tedious and repetitive operations in CATIA
faster. One way is to use macros. Some of these can be found in CATIA installation folder. For beginning, I will
show where you can find the automation documentation for few CATIA local installations.
Dassault Systemes provided those macros (CATSCript, catvbs, catvba) as samples in order to show some
functionalities which can be achieved thru automation.
For CATIA V5 (R25 for example) the file can be found on the path
c:Program FilesDassault SystemesB25win_b64codebin and the name of the file is V5Automation.chm
For CATIA V6 (V6R2013x) the file is on the path
c:Program FilesDassault SystemesB214win_b64codebin and the name of the file is DSYAutomation.chm
For 3DEXPERIENCE 2017x (cloud version) the path is
c:Program FilesDassault SystemesB419win_b64codebin and same name like for CATIA V6
DSYAutomation.chm
2017
For those who want to start programming in CATIA V6 in 3DEXPERIENCE is good to know that macros done in
previous versions of CATIA V6 it might be possible to work also in 3DEXPERIENCE (below is a screen capture
from DS documentation file). .
2017
In order to notice the differences between the number of examples in CATIA V5 and V6, I copied in other
separate folders the samples provided in installation path but only CATScripts and catvbs for V5R25 (B25) and
3DEx 2017x cloud (B419).
The differences between the number of provided samples can be very easy observed in this screen capture.
V5R25 3DEx 2017x
cloud
2017
I will use for exemplification the macro named
Drawing_Titleblock_PlyBook.CATScript .
Because the macro editor is not so friendly from
visual point of view, I’ve done some modifications
to a popular free portable text editor named
SCITE.
If you choose to open in this enhanced text
editor, you will loose the other advantages
coming from the original CATIA VB Editor (object
browser, insert object resolution…)
The macro used for example is looking like here
(V5 macro version). Is a long macro with over
1100 lines which will create a specific frame and
a title block.
2017
Another advantage of SCITE is that you can configure
and run the macro directly from the dropdown menu or
simply pushing F5 key.
In CATIA VB Editor you can search the
objects. This is not possible in SCITE editor.
2017
Running the macro in CATIA V5R25 (directly from SCITE as I preferred), we will get the frame and the
title block.
2017
To compare codes from V5 with V6 (v6r2013x), I will use Compare plug-in from Notepad++ , which will show
us differences. Area with differences is marked below.
V5 V6
2017
In 3DEXPERIENCE 2017x (cloud) I will do few customization in order to easy
the work. First I will run from the web interface one of the preferred Favorite
Apps , Drafting App. The Drafting rich app will be launched.
2017
I will run the Action Pad button and I will customize a little bit, placing the Macros and Fit All In buttons inside .
2017
Running the macro Drawing_Titleblock_PlyBook.CATScript will give us the frame and the title block in 3DEx
Drafting App
2017
But….to have this result running the macro, you need to modify the code, even if it was working in CATIA V6.
You can see the differences between those two codes on right side, in the blue zones the code is the same for
3DEx 2017x cloud and v6r2013x along whole macro.
3DEx
2017x
cloud
V6
2017
Macro was created in 3DEx by using Create
button. Using Edit button you can open the
new created macro and create effectively the
macro eventually by pasting code from another
macro inside and modifying in order to not
have any errors.
2017
Using again Notepad++ we can see differences in another macro comming from samples provided by
Dassault Systemes, CATIASelection_1.CATScript. In the case of this macro, even if the macro was provided
as sample in the installation folder for B419 (3DEx), the code has to be corrected (in screen capture the code
is not corrected).
3DEx V5
2017
All macros are saved in the database in V6, in a Macro library. The library can be searched and accessed like
in the picture bellow.
2017
Information about differences brtween V5 and V6 code can be found in the documentation. A simple example
can be seen here.
2017
Another example can be found
here.
As a conclusion, a macro
which will run very well in V5
will not run as it was written in
V6. There are just few cases
when you will be able to do it.
Users must check their code
to see if this will accomplish
the new automation objects,
methods, and properties
available in 3DEXPERIENCE.
2017
Thank you!

More Related Content

What's hot

Introduction of Finite Element Analysis
Introduction of Finite Element AnalysisIntroduction of Finite Element Analysis
Introduction of Finite Element AnalysisMuthukumar V
 
CFD and more with Acusolve and HyperWorks
CFD and more with Acusolve and HyperWorksCFD and more with Acusolve and HyperWorks
CFD and more with Acusolve and HyperWorksAltair
 
CAD/CAM -PPT UNIT NO-I
CAD/CAM -PPT UNIT NO-ICAD/CAM -PPT UNIT NO-I
CAD/CAM -PPT UNIT NO-IMalothHeeralal
 
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANKME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANKASHOK KUMAR RAJENDRAN
 
SolidWorks Modeling for Design Automation
SolidWorks Modeling for Design AutomationSolidWorks Modeling for Design Automation
SolidWorks Modeling for Design AutomationRazorleaf Corporation
 
Creo advanced assembly extension
Creo advanced assembly extensionCreo advanced assembly extension
Creo advanced assembly extensionAnubhav Singh
 
Solidworks training report
Solidworks training reportSolidworks training report
Solidworks training reportPawan Kumar
 
Introduction to CAD CAM in industries
Introduction to CAD CAM in industriesIntroduction to CAD CAM in industries
Introduction to CAD CAM in industriesAshish Khudaiwala
 
MECH CREO
MECH CREOMECH CREO
MECH CREONaren R
 
Introduction to CATIA
Introduction to CATIAIntroduction to CATIA
Introduction to CATIARahul Kumar
 
Fundamentals of 3D modeling
Fundamentals of 3D modelingFundamentals of 3D modeling
Fundamentals of 3D modelingAniket Joshi
 
General theory of Bending
General theory of BendingGeneral theory of Bending
General theory of BendingSimran Vats
 
Etabs concrete-design
Etabs concrete-designEtabs concrete-design
Etabs concrete-designmamilli
 
CAD AND CAM PPT.pptx
CAD AND CAM PPT.pptxCAD AND CAM PPT.pptx
CAD AND CAM PPT.pptxjntuhcej
 

What's hot (20)

Z:\catia v5
Z:\catia v5Z:\catia v5
Z:\catia v5
 
Introduction of Finite Element Analysis
Introduction of Finite Element AnalysisIntroduction of Finite Element Analysis
Introduction of Finite Element Analysis
 
CFD and more with Acusolve and HyperWorks
CFD and more with Acusolve and HyperWorksCFD and more with Acusolve and HyperWorks
CFD and more with Acusolve and HyperWorks
 
Autocad lisp
Autocad lispAutocad lisp
Autocad lisp
 
Catia File
Catia FileCatia File
Catia File
 
CAD/CAM -PPT UNIT NO-I
CAD/CAM -PPT UNIT NO-ICAD/CAM -PPT UNIT NO-I
CAD/CAM -PPT UNIT NO-I
 
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANKME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANK
ME6603 - FINITE ELEMENT ANALYSIS UNIT - V NOTES AND QUESTION BANK
 
CAD/CAM Lecture #2
CAD/CAM Lecture #2CAD/CAM Lecture #2
CAD/CAM Lecture #2
 
SolidWorks Modeling for Design Automation
SolidWorks Modeling for Design AutomationSolidWorks Modeling for Design Automation
SolidWorks Modeling for Design Automation
 
Catia v5 NOTES
Catia v5  NOTESCatia v5  NOTES
Catia v5 NOTES
 
Creo advanced assembly extension
Creo advanced assembly extensionCreo advanced assembly extension
Creo advanced assembly extension
 
Solidworks training report
Solidworks training reportSolidworks training report
Solidworks training report
 
Introduction to CAD CAM in industries
Introduction to CAD CAM in industriesIntroduction to CAD CAM in industries
Introduction to CAD CAM in industries
 
MECH CREO
MECH CREOMECH CREO
MECH CREO
 
Ppt on catia
Ppt on  catiaPpt on  catia
Ppt on catia
 
Introduction to CATIA
Introduction to CATIAIntroduction to CATIA
Introduction to CATIA
 
Fundamentals of 3D modeling
Fundamentals of 3D modelingFundamentals of 3D modeling
Fundamentals of 3D modeling
 
General theory of Bending
General theory of BendingGeneral theory of Bending
General theory of Bending
 
Etabs concrete-design
Etabs concrete-designEtabs concrete-design
Etabs concrete-design
 
CAD AND CAM PPT.pptx
CAD AND CAM PPT.pptxCAD AND CAM PPT.pptx
CAD AND CAM PPT.pptx
 

Viewers also liked

Shortcuts in 3DEXPERIENCE
Shortcuts in 3DEXPERIENCEShortcuts in 3DEXPERIENCE
Shortcuts in 3DEXPERIENCEFernando Petre
 
Ds catia v6 r2012x 32 64bit full multilanguage setup & crack (by ssq) cg-pe...
Ds catia v6 r2012x 32 64bit full multilanguage setup & crack (by ssq)   cg-pe...Ds catia v6 r2012x 32 64bit full multilanguage setup & crack (by ssq)   cg-pe...
Ds catia v6 r2012x 32 64bit full multilanguage setup & crack (by ssq) cg-pe...ellongt
 
CATIA V5 Tips and Tricks
CATIA V5 Tips and TricksCATIA V5 Tips and Tricks
CATIA V5 Tips and TricksEmmett Ross
 
Getting started with CATIA V5 Macros
Getting started with CATIA V5 MacrosGetting started with CATIA V5 Macros
Getting started with CATIA V5 MacrosEmmett Ross
 
Getting started with 3DEXPERIENCE Plaftorm
Getting started with 3DEXPERIENCE PlaftormGetting started with 3DEXPERIENCE Plaftorm
Getting started with 3DEXPERIENCE PlaftormCATIA
 
TST - CATIA V5 Time Saving Toolbar
 TST - CATIA V5 Time Saving Toolbar TST - CATIA V5 Time Saving Toolbar
TST - CATIA V5 Time Saving ToolbarFernando Petre
 
Catdrawings save as cdd files.
Catdrawings save as cdd files.Catdrawings save as cdd files.
Catdrawings save as cdd files.Fernando Petre
 
3DCS is Fully Integrated in CATIA V6 3DExperience Platform
3DCS is Fully Integrated in CATIA V6 3DExperience Platform3DCS is Fully Integrated in CATIA V6 3DExperience Platform
3DCS is Fully Integrated in CATIA V6 3DExperience PlatformBenjamin Reese
 
00-3dexperience platform 入門
00-3dexperience platform 入門00-3dexperience platform 入門
00-3dexperience platform 入門LUKE CHEN
 
3D體驗平台-模組(角色)說明
3D體驗平台-模組(角色)說明3D體驗平台-模組(角色)說明
3D體驗平台-模組(角色)說明Jimmy Chang
 
001-Creating the Sketch 草圖
001-Creating the Sketch 草圖001-Creating the Sketch 草圖
001-Creating the Sketch 草圖LUKE CHEN
 
unified skeleton for real time mocap
unified skeleton for real time mocapunified skeleton for real time mocap
unified skeleton for real time mocapDavid Nahon
 
[Presales Training]82 演讲 体验时代的智能创新研发平台体系
[Presales Training]82 演讲   体验时代的智能创新研发平台体系[Presales Training]82 演讲   体验时代的智能创新研发平台体系
[Presales Training]82 演讲 体验时代的智能创新研发平台体系Jimmy Chang
 
GS1 université d'été 2015
GS1 université d'été 2015GS1 université d'été 2015
GS1 université d'été 2015David Nahon
 
[Presales Training]83 演讲 在3 d体验平台中建设全生命周期数字化建筑工程
[Presales Training]83 演讲   在3 d体验平台中建设全生命周期数字化建筑工程[Presales Training]83 演讲   在3 d体验平台中建设全生命周期数字化建筑工程
[Presales Training]83 演讲 在3 d体验平台中建设全生命周期数字化建筑工程Jimmy Chang
 
[Presales Training]70 技能 ppt技巧
[Presales Training]70 技能   ppt技巧[Presales Training]70 技能   ppt技巧
[Presales Training]70 技能 ppt技巧Jimmy Chang
 
How to Combine text from two or more cells in Excel
How to Combine text from two or more cells in ExcelHow to Combine text from two or more cells in Excel
How to Combine text from two or more cells in ExcelNick Weisenberger
 
[Seminar]Catia 3D Master with 3dexperience
[Seminar]Catia 3D Master with 3dexperience [Seminar]Catia 3D Master with 3dexperience
[Seminar]Catia 3D Master with 3dexperience Jimmy Chang
 
ENOVIA 3Dcom Architecture
ENOVIA 3Dcom ArchitectureENOVIA 3Dcom Architecture
ENOVIA 3Dcom ArchitecturePalmV
 
Optimized Plant Construction (project execution excellence for on-time and on...
Optimized Plant Construction (project execution excellence for on-time and on...Optimized Plant Construction (project execution excellence for on-time and on...
Optimized Plant Construction (project execution excellence for on-time and on...Nilanjan Bandyopadhyay
 

Viewers also liked (20)

Shortcuts in 3DEXPERIENCE
Shortcuts in 3DEXPERIENCEShortcuts in 3DEXPERIENCE
Shortcuts in 3DEXPERIENCE
 
Ds catia v6 r2012x 32 64bit full multilanguage setup & crack (by ssq) cg-pe...
Ds catia v6 r2012x 32 64bit full multilanguage setup & crack (by ssq)   cg-pe...Ds catia v6 r2012x 32 64bit full multilanguage setup & crack (by ssq)   cg-pe...
Ds catia v6 r2012x 32 64bit full multilanguage setup & crack (by ssq) cg-pe...
 
CATIA V5 Tips and Tricks
CATIA V5 Tips and TricksCATIA V5 Tips and Tricks
CATIA V5 Tips and Tricks
 
Getting started with CATIA V5 Macros
Getting started with CATIA V5 MacrosGetting started with CATIA V5 Macros
Getting started with CATIA V5 Macros
 
Getting started with 3DEXPERIENCE Plaftorm
Getting started with 3DEXPERIENCE PlaftormGetting started with 3DEXPERIENCE Plaftorm
Getting started with 3DEXPERIENCE Plaftorm
 
TST - CATIA V5 Time Saving Toolbar
 TST - CATIA V5 Time Saving Toolbar TST - CATIA V5 Time Saving Toolbar
TST - CATIA V5 Time Saving Toolbar
 
Catdrawings save as cdd files.
Catdrawings save as cdd files.Catdrawings save as cdd files.
Catdrawings save as cdd files.
 
3DCS is Fully Integrated in CATIA V6 3DExperience Platform
3DCS is Fully Integrated in CATIA V6 3DExperience Platform3DCS is Fully Integrated in CATIA V6 3DExperience Platform
3DCS is Fully Integrated in CATIA V6 3DExperience Platform
 
00-3dexperience platform 入門
00-3dexperience platform 入門00-3dexperience platform 入門
00-3dexperience platform 入門
 
3D體驗平台-模組(角色)說明
3D體驗平台-模組(角色)說明3D體驗平台-模組(角色)說明
3D體驗平台-模組(角色)說明
 
001-Creating the Sketch 草圖
001-Creating the Sketch 草圖001-Creating the Sketch 草圖
001-Creating the Sketch 草圖
 
unified skeleton for real time mocap
unified skeleton for real time mocapunified skeleton for real time mocap
unified skeleton for real time mocap
 
[Presales Training]82 演讲 体验时代的智能创新研发平台体系
[Presales Training]82 演讲   体验时代的智能创新研发平台体系[Presales Training]82 演讲   体验时代的智能创新研发平台体系
[Presales Training]82 演讲 体验时代的智能创新研发平台体系
 
GS1 université d'été 2015
GS1 université d'été 2015GS1 université d'été 2015
GS1 université d'été 2015
 
[Presales Training]83 演讲 在3 d体验平台中建设全生命周期数字化建筑工程
[Presales Training]83 演讲   在3 d体验平台中建设全生命周期数字化建筑工程[Presales Training]83 演讲   在3 d体验平台中建设全生命周期数字化建筑工程
[Presales Training]83 演讲 在3 d体验平台中建设全生命周期数字化建筑工程
 
[Presales Training]70 技能 ppt技巧
[Presales Training]70 技能   ppt技巧[Presales Training]70 技能   ppt技巧
[Presales Training]70 技能 ppt技巧
 
How to Combine text from two or more cells in Excel
How to Combine text from two or more cells in ExcelHow to Combine text from two or more cells in Excel
How to Combine text from two or more cells in Excel
 
[Seminar]Catia 3D Master with 3dexperience
[Seminar]Catia 3D Master with 3dexperience [Seminar]Catia 3D Master with 3dexperience
[Seminar]Catia 3D Master with 3dexperience
 
ENOVIA 3Dcom Architecture
ENOVIA 3Dcom ArchitectureENOVIA 3Dcom Architecture
ENOVIA 3Dcom Architecture
 
Optimized Plant Construction (project execution excellence for on-time and on...
Optimized Plant Construction (project execution excellence for on-time and on...Optimized Plant Construction (project execution excellence for on-time and on...
Optimized Plant Construction (project execution excellence for on-time and on...
 

Similar to Differences in macros between catia v5 and catia v6 or 3dexperience

Catia product enhancement_overview_v5_r21
Catia product enhancement_overview_v5_r21Catia product enhancement_overview_v5_r21
Catia product enhancement_overview_v5_r21Jimmy Chang
 
Ds white papers_caa_radebyexample
Ds white papers_caa_radebyexampleDs white papers_caa_radebyexample
Ds white papers_caa_radebyexampleTrần Đức
 
Building Data Centric Apps in WPF
Building Data Centric Apps in WPFBuilding Data Centric Apps in WPF
Building Data Centric Apps in WPFFrank La Vigne
 
Dot Net Fundamentals
Dot Net FundamentalsDot Net Fundamentals
Dot Net FundamentalsLiquidHub
 
The role of CATIA in designing Better Products
The role of CATIA in designing  Better ProductsThe role of CATIA in designing  Better Products
The role of CATIA in designing Better ProductsBJIT Ltd
 
Catia product enhancement_overview_v5r20
Catia product enhancement_overview_v5r20Catia product enhancement_overview_v5r20
Catia product enhancement_overview_v5r20Jimmy Chang
 
Customer FX Technical Reference Sheet
Customer FX Technical Reference SheetCustomer FX Technical Reference Sheet
Customer FX Technical Reference SheetGoodCustomers
 
How useful are catia
How useful are catiaHow useful are catia
How useful are catiaskymountinc
 
Extending 3D Model Visualization with FME 2017
Extending 3D Model Visualization with FME 2017Extending 3D Model Visualization with FME 2017
Extending 3D Model Visualization with FME 2017Safe Software
 
A Brief Note On Asp.Net And Cloud Computing Essay
A Brief Note On Asp.Net And Cloud Computing EssayA Brief Note On Asp.Net And Cloud Computing Essay
A Brief Note On Asp.Net And Cloud Computing EssayLanate Drummond
 
Connect Azure Data Factory (ADF) With Azure DevOps
Connect Azure Data Factory (ADF) With Azure DevOpsConnect Azure Data Factory (ADF) With Azure DevOps
Connect Azure Data Factory (ADF) With Azure DevOpskomal chauhan
 
PTC® Mathcad® 15.0 M030 features
PTC® Mathcad® 15.0 M030 featuresPTC® Mathcad® 15.0 M030 features
PTC® Mathcad® 15.0 M030 featuresCaroline de Villèle
 
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010vchircu
 
Learn about AutoCAD
Learn about AutoCADLearn about AutoCAD
Learn about AutoCADBahzad5
 
AUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUES
AUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUESAUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUES
AUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUESEMERSON EDUARDO RODRIGUES
 

Similar to Differences in macros between catia v5 and catia v6 or 3dexperience (20)

Catia product enhancement_overview_v5_r21
Catia product enhancement_overview_v5_r21Catia product enhancement_overview_v5_r21
Catia product enhancement_overview_v5_r21
 
Ds white papers_caa_radebyexample
Ds white papers_caa_radebyexampleDs white papers_caa_radebyexample
Ds white papers_caa_radebyexample
 
Gitops Hands On
Gitops Hands OnGitops Hands On
Gitops Hands On
 
Building Data Centric Apps in WPF
Building Data Centric Apps in WPFBuilding Data Centric Apps in WPF
Building Data Centric Apps in WPF
 
Dot Net Fundamentals
Dot Net FundamentalsDot Net Fundamentals
Dot Net Fundamentals
 
The role of CATIA in designing Better Products
The role of CATIA in designing  Better ProductsThe role of CATIA in designing  Better Products
The role of CATIA in designing Better Products
 
ASP.NET MVC3 RAD
ASP.NET MVC3 RADASP.NET MVC3 RAD
ASP.NET MVC3 RAD
 
Catia product enhancement_overview_v5r20
Catia product enhancement_overview_v5r20Catia product enhancement_overview_v5r20
Catia product enhancement_overview_v5r20
 
Customer FX Technical Reference Sheet
Customer FX Technical Reference SheetCustomer FX Technical Reference Sheet
Customer FX Technical Reference Sheet
 
_CATIA
_CATIA_CATIA
_CATIA
 
Tec spotlight report ptc creo
Tec spotlight report ptc creoTec spotlight report ptc creo
Tec spotlight report ptc creo
 
How useful are catia
How useful are catiaHow useful are catia
How useful are catia
 
Extending 3D Model Visualization with FME 2017
Extending 3D Model Visualization with FME 2017Extending 3D Model Visualization with FME 2017
Extending 3D Model Visualization with FME 2017
 
A Brief Note On Asp.Net And Cloud Computing Essay
A Brief Note On Asp.Net And Cloud Computing EssayA Brief Note On Asp.Net And Cloud Computing Essay
A Brief Note On Asp.Net And Cloud Computing Essay
 
Connect Azure Data Factory (ADF) With Azure DevOps
Connect Azure Data Factory (ADF) With Azure DevOpsConnect Azure Data Factory (ADF) With Azure DevOps
Connect Azure Data Factory (ADF) With Azure DevOps
 
PTC® Mathcad® 15.0 M030 features
PTC® Mathcad® 15.0 M030 featuresPTC® Mathcad® 15.0 M030 features
PTC® Mathcad® 15.0 M030 features
 
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
ChircuVictor StefircaMadalin rad_aspmvc3_wcf_vs2010
 
Mc15 release notes
Mc15 release notesMc15 release notes
Mc15 release notes
 
Learn about AutoCAD
Learn about AutoCADLearn about AutoCAD
Learn about AutoCAD
 
AUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUES
AUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUESAUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUES
AUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUES
 

Recently uploaded

Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 

Recently uploaded (20)

Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 

Differences in macros between catia v5 and catia v6 or 3dexperience

  • 1. 2017 Fernando Petre, Technical Manager, CAD/PLM Consultant E: fernando.petre@ADInnovation.ro M: +40 725 155 588 Some differences in macros between CATIA V5 and CATIA V6 or 3DEXPERIENCE
  • 2. 2017 Is a well known fact that most of the users would like to do some tedious and repetitive operations in CATIA faster. One way is to use macros. Some of these can be found in CATIA installation folder. For beginning, I will show where you can find the automation documentation for few CATIA local installations. Dassault Systemes provided those macros (CATSCript, catvbs, catvba) as samples in order to show some functionalities which can be achieved thru automation. For CATIA V5 (R25 for example) the file can be found on the path c:Program FilesDassault SystemesB25win_b64codebin and the name of the file is V5Automation.chm For CATIA V6 (V6R2013x) the file is on the path c:Program FilesDassault SystemesB214win_b64codebin and the name of the file is DSYAutomation.chm For 3DEXPERIENCE 2017x (cloud version) the path is c:Program FilesDassault SystemesB419win_b64codebin and same name like for CATIA V6 DSYAutomation.chm
  • 3. 2017 For those who want to start programming in CATIA V6 in 3DEXPERIENCE is good to know that macros done in previous versions of CATIA V6 it might be possible to work also in 3DEXPERIENCE (below is a screen capture from DS documentation file). .
  • 4. 2017 In order to notice the differences between the number of examples in CATIA V5 and V6, I copied in other separate folders the samples provided in installation path but only CATScripts and catvbs for V5R25 (B25) and 3DEx 2017x cloud (B419). The differences between the number of provided samples can be very easy observed in this screen capture. V5R25 3DEx 2017x cloud
  • 5. 2017 I will use for exemplification the macro named Drawing_Titleblock_PlyBook.CATScript . Because the macro editor is not so friendly from visual point of view, I’ve done some modifications to a popular free portable text editor named SCITE. If you choose to open in this enhanced text editor, you will loose the other advantages coming from the original CATIA VB Editor (object browser, insert object resolution…) The macro used for example is looking like here (V5 macro version). Is a long macro with over 1100 lines which will create a specific frame and a title block.
  • 6. 2017 Another advantage of SCITE is that you can configure and run the macro directly from the dropdown menu or simply pushing F5 key. In CATIA VB Editor you can search the objects. This is not possible in SCITE editor.
  • 7. 2017 Running the macro in CATIA V5R25 (directly from SCITE as I preferred), we will get the frame and the title block.
  • 8. 2017 To compare codes from V5 with V6 (v6r2013x), I will use Compare plug-in from Notepad++ , which will show us differences. Area with differences is marked below. V5 V6
  • 9. 2017 In 3DEXPERIENCE 2017x (cloud) I will do few customization in order to easy the work. First I will run from the web interface one of the preferred Favorite Apps , Drafting App. The Drafting rich app will be launched.
  • 10. 2017 I will run the Action Pad button and I will customize a little bit, placing the Macros and Fit All In buttons inside .
  • 11. 2017 Running the macro Drawing_Titleblock_PlyBook.CATScript will give us the frame and the title block in 3DEx Drafting App
  • 12. 2017 But….to have this result running the macro, you need to modify the code, even if it was working in CATIA V6. You can see the differences between those two codes on right side, in the blue zones the code is the same for 3DEx 2017x cloud and v6r2013x along whole macro. 3DEx 2017x cloud V6
  • 13. 2017 Macro was created in 3DEx by using Create button. Using Edit button you can open the new created macro and create effectively the macro eventually by pasting code from another macro inside and modifying in order to not have any errors.
  • 14. 2017 Using again Notepad++ we can see differences in another macro comming from samples provided by Dassault Systemes, CATIASelection_1.CATScript. In the case of this macro, even if the macro was provided as sample in the installation folder for B419 (3DEx), the code has to be corrected (in screen capture the code is not corrected). 3DEx V5
  • 15. 2017 All macros are saved in the database in V6, in a Macro library. The library can be searched and accessed like in the picture bellow.
  • 16. 2017 Information about differences brtween V5 and V6 code can be found in the documentation. A simple example can be seen here.
  • 17. 2017 Another example can be found here. As a conclusion, a macro which will run very well in V5 will not run as it was written in V6. There are just few cases when you will be able to do it. Users must check their code to see if this will accomplish the new automation objects, methods, and properties available in 3DEXPERIENCE.