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

Metal Additive Manufacturing Manufacturing
Metal Additive Manufacturing ManufacturingMetal Additive Manufacturing Manufacturing
Metal Additive Manufacturing ManufacturingPrizztech
 
Gd&t introductory presentation
Gd&t introductory presentationGd&t introductory presentation
Gd&t introductory presentationSimranjit Singh
 
NX training Report
NX training ReportNX training Report
NX training ReportSTAY CURIOUS
 
SolidWorks Sheet metal Design
SolidWorks Sheet metal DesignSolidWorks Sheet metal Design
SolidWorks Sheet metal DesignMCAD HCM
 
Solidworks
SolidworksSolidworks
SolidworksMoe Oee
 
ADVANCED NANO FINISHING PROCESSES
ADVANCED NANO FINISHING PROCESSESADVANCED NANO FINISHING PROCESSES
ADVANCED NANO FINISHING PROCESSESravikumarmrk
 
An Introduction to Creo 3.0
An Introduction to Creo 3.0An Introduction to Creo 3.0
An Introduction to Creo 3.0Kshitiz24
 
Diffusion welding by Limon Saha
Diffusion welding by Limon SahaDiffusion welding by Limon Saha
Diffusion welding by Limon SahaSouvik Roy
 
Getting started with CATIA V5 Macros
Getting started with CATIA V5 MacrosGetting started with CATIA V5 Macros
Getting started with CATIA V5 MacrosEmmett Ross
 
12 cnc & part programming
12 cnc & part programming12 cnc & part programming
12 cnc & part programmingM Siva Kumar
 
Degital vernier caliper kkk
Degital vernier caliper kkkDegital vernier caliper kkk
Degital vernier caliper kkkkunalbhoir5
 
Workholding devices
Workholding devicesWorkholding devices
Workholding devicesad_svh
 
Graphic standards and exchange formats
Graphic standards and exchange formatsGraphic standards and exchange formats
Graphic standards and exchange formatskishor kumar
 
Basics of Sheetmetal operations
Basics of Sheetmetal operationsBasics of Sheetmetal operations
Basics of Sheetmetal operationsRaghavendra Byluri
 
Auto cad ppt
Auto cad pptAuto cad ppt
Auto cad ppthrprt7696
 

What's hot (20)

Metal Additive Manufacturing Manufacturing
Metal Additive Manufacturing ManufacturingMetal Additive Manufacturing Manufacturing
Metal Additive Manufacturing Manufacturing
 
Gd&t introductory presentation
Gd&t introductory presentationGd&t introductory presentation
Gd&t introductory presentation
 
NX training Report
NX training ReportNX training Report
NX training Report
 
SolidWorks Sheet metal Design
SolidWorks Sheet metal DesignSolidWorks Sheet metal Design
SolidWorks Sheet metal Design
 
Solidworks
SolidworksSolidworks
Solidworks
 
ADVANCED NANO FINISHING PROCESSES
ADVANCED NANO FINISHING PROCESSESADVANCED NANO FINISHING PROCESSES
ADVANCED NANO FINISHING PROCESSES
 
An Introduction to Creo 3.0
An Introduction to Creo 3.0An Introduction to Creo 3.0
An Introduction to Creo 3.0
 
Diffusion welding by Limon Saha
Diffusion welding by Limon SahaDiffusion welding by Limon Saha
Diffusion welding by Limon Saha
 
Getting started with CATIA V5 Macros
Getting started with CATIA V5 MacrosGetting started with CATIA V5 Macros
Getting started with CATIA V5 Macros
 
Types of Casting Process
Types of Casting ProcessTypes of Casting Process
Types of Casting Process
 
Cutting tool geometry
Cutting tool geometryCutting tool geometry
Cutting tool geometry
 
Solidworks
SolidworksSolidworks
Solidworks
 
METAL CUTTING
METAL CUTTINGMETAL CUTTING
METAL CUTTING
 
12 cnc & part programming
12 cnc & part programming12 cnc & part programming
12 cnc & part programming
 
Degital vernier caliper kkk
Degital vernier caliper kkkDegital vernier caliper kkk
Degital vernier caliper kkk
 
Workholding devices
Workholding devicesWorkholding devices
Workholding devices
 
Graphic standards and exchange formats
Graphic standards and exchange formatsGraphic standards and exchange formats
Graphic standards and exchange formats
 
Basics of Sheetmetal operations
Basics of Sheetmetal operationsBasics of Sheetmetal operations
Basics of Sheetmetal operations
 
Creo Demo
Creo DemoCreo Demo
Creo Demo
 
Auto cad ppt
Auto cad pptAuto cad ppt
Auto cad ppt
 

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 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 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...
 

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
 
Autocad LT for Beginners Guide.pdf
Autocad LT for Beginners Guide.pdfAutocad LT for Beginners Guide.pdf
Autocad LT for Beginners Guide.pdfSridharMohanasundara
 

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
 
Autocad LT for Beginners Guide.pdf
Autocad LT for Beginners Guide.pdfAutocad LT for Beginners Guide.pdf
Autocad LT for Beginners Guide.pdf
 

Recently uploaded

Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisDr.Costas Sachpazis
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxMustafa Ahmed
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfJNTUA
 
Multivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptxMultivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptxalijaker017
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesRashidFaridChishti
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AISheetal Jain
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...IJECEIAES
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfragupathi90
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.benjamincojr
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxMustafa Ahmed
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfEr.Sonali Nasikkar
 
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUUNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUankushspencer015
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxRashidFaridChishti
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualBalamuruganV28
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...IJECEIAES
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2T.D. Shashikala
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Nitin Sonavane
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfJNTUA
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Lovely Professional University
 

Recently uploaded (20)

Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
Multivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptxMultivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptx
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdf
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUUNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docx
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdf
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
 

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.