Sample Chapters - CATIA

CATIA Visual Basic Automation

Issue link: https://resources.rand3d.com/i/1175398

Contents of this Issue

Navigation

Page 3 of 7

CATIA V5-6R2018: Visual Basic Automation ii © 2020, ASCENT - Center for Technical Knowledge® 2.3 Aggregation ................................................................................... 2-10 Example of Aggregation in CATIA .................................................. 2-10 2.4 Abstract Class ............................................................................... 2-12 Example of Abstract Class in CATIA............................................... 2-13 2.5 Collections ..................................................................................... 2-14 2.6 CATIA Object Diagram.................................................................. 2-16 2.7 CATIA Automation Documentation ............................................. 2-17 Practice 2a Navigating Automation Documentation......................... 2-19 Chapter 3: Introduction to Macros .............................................................. 3-1 3.1 Introduction ..................................................................................... 3-2 3.2 Macro Libraries ............................................................................... 3-3 3.3 Recording Macros ........................................................................... 3-4 3.4 Viewing or Editing Macros ............................................................. 3-5 Interpreting Macro Recordings .......................................................... 3-6 Replaying a Macro ............................................................................ 3-7 Executing a Macro on CATIA startup ................................................ 3-7 Macros with Parameters ................................................................... 3-8 3.5 Assigning a Macro to a Toolbar..................................................... 3-9 Practice 3a Square Pad with Parameters........................................... 3-10 Practice 3b Series of Round Pads ...................................................... 3-16 Chapter 4: Introduction to VBA ................................................................... 4-1 4.1 Overview .......................................................................................... 4-2 4.2 Event-driven Programming ............................................................ 4-3 4.3 Forms and Controls ........................................................................ 4-4 4.4 Modules............................................................................................ 4-5 4.5 Early Versus Late Binding.............................................................. 4-6 4.6 Type Libraries.................................................................................. 4-7 4.7 Object Browser................................................................................ 4-8 4.8 Programming Tips .......................................................................... 4-9 Explicit vs Implicit Variable Declaration............................................. 4-9 Running and Debugging ................................................................. 4-10 Starting a User Form from CATIA ................................................... 4-11 4.9 Error Handling ............................................................................... 4-12 For RAND Worldwide Internal Use Only. Not For Distribution.

Articles in this issue

view archives of Sample Chapters - CATIA - CATIA Visual Basic Automation