SlideShare a Scribd company logo
2
Most read
4
Most read
8
Most read
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

PPT
CATIA Commands Lists in 3DEXPERIENCE and V5
PPTX
Getting started with 3DEXPERIENCE Plaftorm
PPTX
PDF
Cours powerpoint
PPTX
Windows × ネットワーク! 更新プログラムの展開に使える ネットワークの最適化機能をマスターしよう
PDF
5 Ways to Manage Documents in SharePoint & Office 365
PPTX
[SCCM 友の会] System Center Configuration Manager この秋おさえておきたい最新機能!
PDF
IT エンジニアのための 流し読み Windows 10 - Windows のネットワーク最適化機能
CATIA Commands Lists in 3DEXPERIENCE and V5
Getting started with 3DEXPERIENCE Plaftorm
Cours powerpoint
Windows × ネットワーク! 更新プログラムの展開に使える ネットワークの最適化機能をマスターしよう
5 Ways to Manage Documents in SharePoint & Office 365
[SCCM 友の会] System Center Configuration Manager この秋おさえておきたい最新機能!
IT エンジニアのための 流し読み Windows 10 - Windows のネットワーク最適化機能

What's hot (20)

DOCX
Save and Share Files in the Cloud with OneDrive for Business - Customize Guide
PPTX
IBM Log Analysis with LogDNAを評価した話
PDF
Project Loom - 限定継続と軽量スレッド -
PDF
PostgreSQL 15の新機能を徹底解説
PPTX
Hybrid Azure AD Join 動作の仕組みを徹底解説
PDF
C34 ニッチだけど、社会インフラを支えるデータベース、HiRDB ~HiRDBを選ぶ人、選ばない人、その選択基準とは~ by Taichi Ishikawa
PDF
Keycloak拡張入門
PPTX
Microsoft Endpoint Configuration Manager 概要
PDF
超簡単!バージョン管理入門 最初の一歩
PDF
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
PPTX
Microsoft Teams
PDF
FCスイッチゾーニング設定ガイド
PPTX
One drive for end users
PDF
Everything You Need to Know About MySQL Group Replication
PDF
TUIゲームを作った話
PDF
Top 10 SharePoint Terms and Acronyms Explained
PDF
PG-REXで学ぶPacemaker運用の実例
PDF
20170525 jsug バッチは地味だが役に立つ
PDF
ストリーミングのげんざい
PDF
行ロックと「LOG: process 12345 still waiting for ShareLock on transaction 710 afte...
Save and Share Files in the Cloud with OneDrive for Business - Customize Guide
IBM Log Analysis with LogDNAを評価した話
Project Loom - 限定継続と軽量スレッド -
PostgreSQL 15の新機能を徹底解説
Hybrid Azure AD Join 動作の仕組みを徹底解説
C34 ニッチだけど、社会インフラを支えるデータベース、HiRDB ~HiRDBを選ぶ人、選ばない人、その選択基準とは~ by Taichi Ishikawa
Keycloak拡張入門
Microsoft Endpoint Configuration Manager 概要
超簡単!バージョン管理入門 最初の一歩
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
Microsoft Teams
FCスイッチゾーニング設定ガイド
One drive for end users
Everything You Need to Know About MySQL Group Replication
TUIゲームを作った話
Top 10 SharePoint Terms and Acronyms Explained
PG-REXで学ぶPacemaker運用の実例
20170525 jsug バッチは地味だが役に立つ
ストリーミングのげんざい
行ロックと「LOG: process 12345 still waiting for ShareLock on transaction 710 afte...
Ad

Viewers also liked (20)

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

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

PDF
CATIA v6 Essentials 1st Edition Kogent Learning Solutions Inc.
PDF
CATIA V5 Automation VB script.........pdf
PDF
The role of CATIA in designing Better Products
PPTX
CATIA Cad Models
PPTX
Introduction to CAD and CAD software
PPTX
Best CATIA (CAD/CAM) Training Center in Nagpur CADD MASTRE
DOC
DraftingexpertAcedesigner
PPT
Catia v5 presentation report
PDF
DS CATIA V5 and Virtools: KBE & Behavioral Simulation
PPTX
CATIA-V5-Unleashing-the-Future-of-Design by CADD Mastre.pptx
PDF
Catia v5 lecture notes
PDF
Catia v5 lecture notes
PDF
Catia essential and advanced cadd centre
PPTX
CATIA Drafting
PPTX
Introduction-to-CATIA-V5 by CADD Mastre.pptx
PPTX
Catia sketcher workbench
RTF
PPTX
catia presentation.pptx
PDF
Catia -installation guide
CATIA v6 Essentials 1st Edition Kogent Learning Solutions Inc.
CATIA V5 Automation VB script.........pdf
The role of CATIA in designing Better Products
CATIA Cad Models
Introduction to CAD and CAD software
Best CATIA (CAD/CAM) Training Center in Nagpur CADD MASTRE
DraftingexpertAcedesigner
Catia v5 presentation report
DS CATIA V5 and Virtools: KBE & Behavioral Simulation
CATIA-V5-Unleashing-the-Future-of-Design by CADD Mastre.pptx
Catia v5 lecture notes
Catia v5 lecture notes
Catia essential and advanced cadd centre
CATIA Drafting
Introduction-to-CATIA-V5 by CADD Mastre.pptx
Catia sketcher workbench
catia presentation.pptx
Catia -installation guide

Recently uploaded (20)

PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
Current and future trends in Computer Vision.pptx
PPTX
Sustainable Sites - Green Building Construction
PPT
introduction to datamining and warehousing
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Geodesy 1.pptx...............................................
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Construction Project Organization Group 2.pptx
PPTX
OOP with Java - Java Introduction (Basics)
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Artificial Intelligence
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Lecture Notes Electrical Wiring System Components
Safety Seminar civil to be ensured for safe working.
Current and future trends in Computer Vision.pptx
Sustainable Sites - Green Building Construction
introduction to datamining and warehousing
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Geodesy 1.pptx...............................................
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
R24 SURVEYING LAB MANUAL for civil enggi
Automation-in-Manufacturing-Chapter-Introduction.pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Construction Project Organization Group 2.pptx
OOP with Java - Java Introduction (Basics)
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Artificial Intelligence
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
CH1 Production IntroductoryConcepts.pptx
Lecture Notes Electrical Wiring System Components

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.