CATIA V5: Visual Basic (VB) Automation

Learn how to automate tasks related to CATIA V5 via CATIA Macros and Visual Basic Programming.

OVERVIEW

  • CLASSROOM LENGTH:   3 days

  • INSTRUCTOR-LED ONLINE LENGTH:  3 days


PREREQUISITES:  CATIA V5 Fundamentals, Visual Basic, Java Script is a plus. 


DESCRIPTION:  At the end of this course, participants will have a good understanding of the different ways to automate tasks related to CATIA V5 via CATIA Macros and Visual Basic Programming.

All the ways to take
  CATIA V5: Visual Basic (VB) Automation

ONLINE CLASSES

SOLIDWORKS Essentials Instructor-Led Training Available at GoEngineer Instructor Led Training 

REGISTER

IN-PERSON CLASSES

SOLIDWORKS Essentials Classroom Training Available at GoEngineer Classroom Style Training 

CALENDAR

Private SOLIDWORKS Essentials Training Available at GoEngineer
Private Training


Lesson 1: 
Introduction to CATIA V5 Automation

  • CATIA V5 Automation & Scripting: Presentation
  • Automation, Knowledgeware, and CAA
  • Skills Required for CATIA V5 Automation
  • CATIA V5 Automation: Presentation for Windows
  • Language Used for Automation
  • VB Script
  • Visual Basic for Application
  • Visual Basic
  • Communication Chart on Windows
  • Documentation
  • Interface Documentation
  • CATIA V5 Association with File Extension
  • CATIA V5 OLE (Object Linking and Embedding)
  • CATIA V5 Scripting Capabilities

Lesson 2: 
In-Process Macros

  • What is an In-Process Macro
  • CATIA V5 Visual Basic Editor
  • Macro Libraries
  • Recording a Macro
  • Running a Macro
  • Executing a Macro from Another Macro
  • Execution of a Macro which Require Parameters
  • Adding a Macro as a command in a Toolbar
  • Macros Options Interface

Lesson 3: 
Out-Process Programs

  • Running Out-Process Programs (On Windows only)
  • Running Out-Process from VBA
  • Example: Bolt from Excel
  • Running Out-Process Using the Windows Scripting Host
  • VBScript under Windows Scripting Host
  • catia.vbs Example
  • JavaScript under Windows Scripting Host
  • catia.js Example
  • Out-Process in HTML (Windows & Microsoft IE Only)
  • Out-Process in HTML with VBScript Out-Process in HTML with JavaScript

Lesson 4: 
VBA I VB Programming Basics

  • Programming Generalities
  • VBA Common Controls
  • VBA Programming Techniques

Lesson 5: 
Scripting with CATIA V5

  • CATIA V5 Object Architecture
  • Scripting Infrastructure Features
  • Scripting Sketches
  • Scripting Part Design Features
  • Scripting Shape Design Features
  • Scripting Assembly Design Features
  • Scripting Drafting Features

Lesson 6: 
Accessing Elements

  • Automatic Selections
  • Scanning the Containers
  • Access to a Specific Element
  • Graphic Selections
  • Graphic Selection using Selection
  • Graphic Selections using SelectElement2
  • Creating Panels from Macros
  • Input Box
  • Panels in an ActiveX component (Windows Only)
  • Miscellaneous Information

Lesson 7: 
Obfuscating and Converting Macros

  • Obfuscate VBScript Macros
  • Multi-Product Support
  • Registering CATIA and Type Libraries
  • Converting a Macro to a Visual Basic Program
  • Converting a Visual Basic program to a CATIA Macro
  • Macros on UNIX I Windows

Lesson 8: 
Calling the Other Automation Server

  • Calling WSH from VBScript
  • Calling Word
  • Calling Excel
  • Drawing a Chart in EXCEL

Additional Resources

Take Advantage of GoEngineer’s Extensive Knowledge Base and Resources

GoEngineer Knowledge Base and website search

Find a Solution

Our robust Knowledge Base contains over 12,000 resources to help answer your product design questions. From basic CAD questions to in-depth guides and tutorials, find your solution here. Find a Solution

Get Certified Professional SOLIDWORKS Training at GoEngineer

PROFESSIONAL TRAINING 

Improve your skills with professional training and certifications in SOLIDWORKS, CAM, 3D Printing, and 3D Scanning offered four ways: self-paced, online, on-site, or in-classroom. Certified Training Courses

GoEngineer blog page

BLOG

#1 Technical Resource Worldwide - Right at your fingertips. Search or browse through hundreds of SOLIDWORKS tips & tricks, additive manufacturing product developments, announcements, how-to guides, and tutorials. Blog

GoEngineer YouTube Channel

YouTube Channel

Our YouTube channel hosts hundreds of educational tutorials, product demonstrations, recorded webinars, and best practices for all of our products and services. GoEngineer's YouTube Channel

Order 3D printing materials and consumables from GoEngineer

ONLINE STORE

Order 3D printing materials and consumables, enroll in SOLIDWORKS training classes, and buy official GoEngineer gear directly from our online store. Online Store

Webinars offered by GoEngineer

WEBINARS

Our engineering webinars are hosted by some of the top experts in the industry. They are always recorded, always free, and always offer a live Q&A. WEBINARS

3D design and part printing services available at GoEngineer

3D Printing Services

Need to 3D print a part? Our Additive Manufacturing experts will 3D print your part and deliver it to you using the latest technology on one of our professional FDM, PolyJet and SL 3D printers.  3D Printing Services

Simulation Services Available at GoEngineer.

Simulation Services

GoEngineer's CAE consultants help you design better products faster. Our advanced FEA & CFD services provide critical engineering insight to world-class OEMs, suppliers, and start-ups alike.Simulation Services