SlideShare a Scribd company logo
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

Catia v5 lecture notes
Catia v5 lecture notesCatia v5 lecture notes
Catia v5 lecture notes
Prem Kumar Soni
 
NX QUESTIONS
NX QUESTIONSNX QUESTIONS
NX QUESTIONS
Parag Desshattiwar
 
UGS NX
UGS NXUGS NX
UGS NX
mrbojanglezs
 
Ppt on catia
Ppt on  catiaPpt on  catia
Ppt on catia
Tajender12singh
 
CATIA Drafting
CATIA DraftingCATIA Drafting
CATIA Drafting
Cad Cam
 
Shortcuts in 3DEXPERIENCE
Shortcuts in 3DEXPERIENCEShortcuts in 3DEXPERIENCE
Shortcuts in 3DEXPERIENCE
Fernando Petre
 
CATIA DMU Kinematic Simulation - TecnisiaCAD
CATIA DMU Kinematic Simulation - TecnisiaCAD CATIA DMU Kinematic Simulation - TecnisiaCAD
CATIA DMU Kinematic Simulation - TecnisiaCAD
RAVI RAI
 
Catia sketcher workbench
Catia  sketcher workbenchCatia  sketcher workbench
Catia sketcher workbench
Jayesh Sarode
 
MECH CREO
MECH CREOMECH CREO
MECH CREO
Naren R
 
Catia v5 presentation report
Catia v5 presentation reportCatia v5 presentation report
Catia v5 presentation report
Munna Kumar
 
Introduction to CATIA
Introduction to CATIAIntroduction to CATIA
Introduction to CATIA
Rahul Kumar
 
Sheet metal design
Sheet metal designSheet metal design
Sheet metal design
Hien Dinh
 
Advanced Computer Aided Design ACAD
Advanced Computer Aided Design ACADAdvanced Computer Aided Design ACAD
Advanced Computer Aided Design ACAD
Jordi Torner
 
graphic stadards
graphic stadardsgraphic stadards
graphic stadards
Arjun Betageri
 
CAD STANDARDS
CAD STANDARDSCAD STANDARDS
CAD STANDARDS
Balamurugan Subburaj
 
Autocad training
Autocad trainingAutocad training
Autocad training
Phurba Tamang
 
Catia File
Catia FileCatia File
Catia File
Vishal Singh
 
20191126 modulair IFC
20191126 modulair IFC20191126 modulair IFC
20191126 modulair IFC
Léon Berlo
 
Training report on catia
Training report on catiaTraining report on catia
Training report on catia
Tajender12singh
 
Stapler
StaplerStapler
Stapler
EAPPEN JOHNS
 

What's hot (20)

Catia v5 lecture notes
Catia v5 lecture notesCatia v5 lecture notes
Catia v5 lecture notes
 
NX QUESTIONS
NX QUESTIONSNX QUESTIONS
NX QUESTIONS
 
UGS NX
UGS NXUGS NX
UGS NX
 
Ppt on catia
Ppt on  catiaPpt on  catia
Ppt on catia
 
CATIA Drafting
CATIA DraftingCATIA Drafting
CATIA Drafting
 
Shortcuts in 3DEXPERIENCE
Shortcuts in 3DEXPERIENCEShortcuts in 3DEXPERIENCE
Shortcuts in 3DEXPERIENCE
 
CATIA DMU Kinematic Simulation - TecnisiaCAD
CATIA DMU Kinematic Simulation - TecnisiaCAD CATIA DMU Kinematic Simulation - TecnisiaCAD
CATIA DMU Kinematic Simulation - TecnisiaCAD
 
Catia sketcher workbench
Catia  sketcher workbenchCatia  sketcher workbench
Catia sketcher workbench
 
MECH CREO
MECH CREOMECH CREO
MECH CREO
 
Catia v5 presentation report
Catia v5 presentation reportCatia v5 presentation report
Catia v5 presentation report
 
Introduction to CATIA
Introduction to CATIAIntroduction to CATIA
Introduction to CATIA
 
Sheet metal design
Sheet metal designSheet metal design
Sheet metal design
 
Advanced Computer Aided Design ACAD
Advanced Computer Aided Design ACADAdvanced Computer Aided Design ACAD
Advanced Computer Aided Design ACAD
 
graphic stadards
graphic stadardsgraphic stadards
graphic stadards
 
CAD STANDARDS
CAD STANDARDSCAD STANDARDS
CAD STANDARDS
 
Autocad training
Autocad trainingAutocad training
Autocad training
 
Catia File
Catia FileCatia File
Catia File
 
20191126 modulair IFC
20191126 modulair IFC20191126 modulair IFC
20191126 modulair IFC
 
Training report on catia
Training report on catiaTraining report on catia
Training report on catia
 
Stapler
StaplerStapler
Stapler
 

Viewers also liked

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
 
Getting started with 3DEXPERIENCE Plaftorm
Getting started with 3DEXPERIENCE PlaftormGetting started with 3DEXPERIENCE Plaftorm
Getting started with 3DEXPERIENCE Plaftorm
CATIA
 
TST - CATIA V5 Time Saving Toolbar
 TST - CATIA V5 Time Saving Toolbar TST - CATIA V5 Time Saving Toolbar
TST - CATIA V5 Time Saving Toolbar
Fernando Petre
 
Catdrawings save as cdd files.
Catdrawings save as cdd files.Catdrawings save as cdd files.
Catdrawings save as cdd files.
Fernando Petre
 
Catia v5 NOTES
Catia v5  NOTESCatia v5  NOTES
Catia v5 NOTES
vipinshelke
 
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
Benjamin 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 mocap
David 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é 2015
David 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 Excel
Nick 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 Architecture
PalmV
 
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
 
CATIA V5 Modelling and Kinematics Project
CATIA V5 Modelling and Kinematics ProjectCATIA V5 Modelling and Kinematics Project
CATIA V5 Modelling and Kinematics Project
Chris Ciambella
 
Catia -installation guide
Catia -installation guideCatia -installation guide
Catia -installation guide
Er Deepak Sharma
 

Viewers also liked (20)

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...
 
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.
 
Catia v5 NOTES
Catia v5  NOTESCatia v5  NOTES
Catia v5 NOTES
 
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...
 
CATIA V5 Modelling and Kinematics Project
CATIA V5 Modelling and Kinematics ProjectCATIA V5 Modelling and Kinematics Project
CATIA V5 Modelling and Kinematics Project
 
Catia -installation guide
Catia -installation guideCatia -installation guide
Catia -installation guide
 

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_r21
Jimmy Chang
 
Ds white papers_caa_radebyexample
Ds white papers_caa_radebyexampleDs white papers_caa_radebyexample
Ds white papers_caa_radebyexample
Trần Đức
 
Gitops Hands On
Gitops Hands OnGitops Hands On
Gitops Hands On
Brice Fernandes
 
Building Data Centric Apps in WPF
Building Data Centric Apps in WPFBuilding Data Centric Apps in WPF
Building Data Centric Apps in WPF
Frank La Vigne
 
Dot Net Fundamentals
Dot Net FundamentalsDot Net Fundamentals
Dot Net Fundamentals
LiquidHub
 
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
BJIT Ltd
 
ASP.NET MVC3 RAD
ASP.NET MVC3 RADASP.NET MVC3 RAD
ASP.NET MVC3 RAD
Mădălin Ștefîrcă
 
Catia product enhancement_overview_v5r20
Catia product enhancement_overview_v5r20Catia product enhancement_overview_v5r20
Catia product enhancement_overview_v5r20
Jimmy Chang
 
Customer FX Technical Reference Sheet
Customer FX Technical Reference SheetCustomer FX Technical Reference Sheet
Customer FX Technical Reference Sheet
GoodCustomers
 
_CATIA
_CATIA_CATIA
Tec spotlight report ptc creo
Tec spotlight report ptc creoTec spotlight report ptc creo
Tec spotlight report ptc creo
Predrag Jakovljevic
 
How useful are catia
How useful are catiaHow useful are catia
How useful are catia
skymountinc
 
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
Safe 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 Essay
Lanate 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 DevOps
komal chauhan
 
PTC® Mathcad® 15.0 M030 features
PTC® Mathcad® 15.0 M030 featuresPTC® Mathcad® 15.0 M030 features
PTC® Mathcad® 15.0 M030 features
Caroline 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_vs2010
vchircu
 
Mc15 release notes
Mc15 release notesMc15 release notes
Mc15 release notes
Diohanic Bustos
 
Learn about AutoCAD
Learn about AutoCADLearn about AutoCAD
Learn about AutoCAD
Bahzad5
 
AUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUES
AUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUESAUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUES
AUTO CAD ESSENTIALS EMERSON EDUARDO RODRIGUES
EMERSON 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

Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
bijceesjournal
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
PriyankaKilaniya
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
CVCSOfficial
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
ijaia
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
upoux
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
PIMR BHOPAL
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 

Recently uploaded (20)

Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 

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.