Book description
Write powerful, custom macros for CATIA V5
CATIA V5 Macro Programming with Visual Basic Script shows you, step by step, how to create your own macros that automate repetitive tasks, accelerate design procedures, and automatically generate complex geometries. Filled with full-color screenshots and illustrations, this practical guide walks you through the entire process of writing, storing, and executing reusable macros for CATIA® V5. Sample Visual Basic Script code accompanies the book’s hands-on exercises and real-world case studies demonstrate key concepts and best practices.
Coverage includes:
- CATIA V5 macro programming basics
- Communication with the environment
- Elements of CATParts and CATProducts
- 2D wireframe geometry
- 3D wireframe geometry and surfaces
- Solid features
- Object classes
- VBScript commands
Table of contents
- Cover
- About the Author
- Title Page
- Copyright Page
- Contents
- Preface
-
1. Basics
- 1.1 Definition of CATScript and CATVBS
- 1.2 Definition of Nomenclature
- 1.3 Definition of Object, Class, and Object Path
- 1.4 Basic Example of a Macro
- 1.5 Selecting a Macro Editor
- 1.6 Storage of a Macro
- 1.7 Starting a Macro from a Button
- 1.8 Blocks of a Macro
- 1.9 Branches and Loops
- 1.10 Anchor Objects of CATScript
- 1.11 Using the Macro Recorder
- 1.12 Additional Information
- 2. Communicating with the Environment
- 3. Components of CATParts
- 4. Components of CATProducts
- 5. 2D Wireframe Geometry
- 6. 3D Wireframe Geometry and Surfaces
- 7. Solids
-
8. Featured Object Classes
- 8.1 Add
- 8.2 Angle
- 8.3 AngularRepartition
- 8.4 AnyObject
- 8.5 Application
- 8.6 Assemble
- 8.7 Axis2D
- 8.8 Bodies
- 8.9 Body
- 8.10 BooleanShape
- 8.11 BoolParam
- 8.12 CATBaseDispatch
- 8.13 Chamfer
- 8.14 Circle2D
- 8.15 CircPattern
- 8.16 CloseSurface
- 8.17 Collection
- 8.18 ConstRadEdgeFillet
- 8.19 Constraint
- 8.20 Constraints
- 8.21 ControlPoint2D
- 8.22 Curve2D
- 8.23 DesignTable
- 8.24 Dimension
- 8.25 Document
- 8.26 Documents
- 8.27 Draft
- 8.28 DraftDomain
- 8.29 DraftDomains
- 8.30 DressUpShape
- 8.31 EdgeFillet
- 8.32 Ellipse2D
- 8.33 FaceFillet
- 8.34 Factory
- 8.35 Factory2D
- 8.36 File
- 8.37 FileComponent
- 8.38 Files
- 8.39 FileSystem
- 8.40 Fillet
- 8.41 Folder
- 8.42 Folders
- 8.43 Formula
- 8.44 GeometricElement
- 8.45 GeometricElements
- 8.46 Geometry2D
- 8.47 Groove
- 8.48 Hole
- 8.49 HybridBodies
- 8.50 HybridBody
- 8.51 HybridShape
- 8.52 HybridShape3DCurveOffset
- 8.53 HybridShapeAffinity
- 8.54 HybridShapeAssemble
- 8.55 HybridShapeAxisLine
- 8.56 HybridShapeAxisToAxis
- 8.57 HybridShapeBlend
- 8.58 HybridShapeBoundary
- 8.59 HybridShapeCircle
- 8.60 HybridShapeCircle2PointsRad
- 8.61 HybridShapeCircle3Points
- 8.62 HybridShapeCircleBitangentPoint
- 8.63 HybridShapeCircleBitangentRadius
- 8.64 HybridShapeCircleCenterAxis
- 8.65 HybridShapeCircleCenterTangent
- 8.66 HybridShapeCircleCtrPt
- 8.67 HybridShapeCircleCtrRad
- 8.68 HybridShapeCircleExplicit
- 8.69 HybridShapeCircleTritangent
- 8.70 HybridShapeCombine
- 8.71 HybridShapeConic
- 8.72 HybridShapeConnect
- 8.73 HybridShapeCorner
- 8.74 HybridShapeCurveExplicit
- 8.75 HybridShapeCurvePar
- 8.76 HybridShapeCurveSmooth
- 8.77 HybridShapeCylinder
- 8.78 HybridShapeDirection
- 8.79 HybridShapeExtract
- 8.80 HybridShapeExtractMulti
- 8.81 HybridShapeExtrapol
- 8.82 HybridShapeExtremum
- 8.83 HybridShapeExtremumPolar
- 8.84 HybridShapeExtrude
- 8.85 HybridShapeFactory
- 8.86 HybridShapeFill
- 8.87 HybridShapeFilletBiTangent
- 8.88 HybridShapeFilletTriTangent
- 8.89 HybridShapeHelix
- 8.90 HybridShapeIntegratedLaw
- 8.91 HybridShapeIntersection
- 8.92 HybridShapeInverse
- 8.93 HybridShapeLawDistProj
- 8.94 HybridShapeLineAngle
- 8.95 HybridShapeLineBisecting
- 8.96 HybridShapeLineBiTangent
- 8.97 HybridShapeLineExplicit
- 8.98 HybridShapeLineNormal
- 8.99 HybridShapeLinePtDir
- 8.100 HybridShapeLinePtPt
- 8.101 HybridShapeLineTangency
- 8.102 HybridShapeLoft
- 8.103 HybridShapeNear
- 8.104 HybridShapeOffset
- 8.105 HybridShapePlane1Curve
- 8.106 HybridShapePlane1Line1Pt
- 8.107 HybridShapePlane2Lines
- 8.108 HybridShapePlane3Points
- 8.109 HybridShapePlaneAngle
- 8.110 HybridShapePlaneEquation
- 8.111 HybridShapePlaneExplicit
- 8.112 HybridShapePlaneMean
- 8.113 HybridShapePlaneNormal
- 8.114 HybridShapePlaneOffset
- 8.115 HybridShapePlaneOffsetPt
- 8.116 HybridShapePlaneTangent
- 8.117 HybridShapePointBetween
- 8.118 HybridShapePointCenter
- 8.119 HybridShapePointCoord
- 8.120 HybridShapePointExplicit
- 8.121 HybridShapePointOnCurve
- 8.122 HybridShapePointOnPlane
- 8.123 HybridShapePointOnSurface
- 8.124 HybridShapePointTangent
- 8.125 HybridShapePolyline
- 8.126 HybridShapePositionTransfo
- 8.127 HybridShapeProject
- 8.128 HybridShapeReflectLine
- 8.129 HybridShapeRevol
- 8.130 HybridShapeRotate
- 8.131 HybridShapes
- 8.132 HybridShapeScaling
- 8.133 HybridShapeSection
- 8.134 HybridShapeSphere
- 8.135 HybridShapeSpine
- 8.136 HybridShapeSpiral
- 8.137 HybridShapeSpline
- 8.138 HybridShapeSplit
- 8.139 HybridShapeSurfaceExplicit
- 8.140 HybridShapeSweep
- 8.141 HybridShapeSweepCircle
- 8.142 HybridShapeSweepConic
- 8.143 HybridShapeSweepExplicit
- 8.144 HybridShapeSweepLine
- 8.145 HybridShapeSymmetry
- 8.146 HybridShapeThickness
- 8.147 HybridShapeTranslate
- 8.148 HybridShapeTrim
- 8.149 Hyperbola2D
- 8.150 Intersect
- 8.151 IntParam
- 8.152 KnowledgeObject
- 8.153 KnowledgeActivateObject
- 8.154 Length
- 8.155 Limit
- 8.156 Line
- 8.157 Line2D
- 8.158 LinearRepartition
- 8.159 Loft
- 8.160 Mirror
- 8.161 OrderedGeometricalSet
- 8.162 OrderedGeometricalSets
- 8.163 OriginElements
- 8.164 Pad
- 8.165 Parabola2D
- 8.166 Parameter
- 8.167 Parameters
- 8.168 Part
- 8.169 PartDocument
- 8.170 Pattern
- 8.171 Plane
- 8.172 Pocket
- 8.173 Point
- 8.174 Point2D
- 8.175 Prism
- 8.176 Product
- 8.177 ProductDocument
- 8.178 Products
- 8.179 RealParam
- 8.180 RectPattern
- 8.181 Reference
- 8.182 References
- 8.183 Relation
- 8.184 Relations
- 8.185 Remove
- 8.186 RemoveFace
- 8.187 Repartition
- 8.188 ReplaceFace
- 8.189 Revolution
- 8.190 Rib
- 8.191 Rotate
- 8.192 Scaling
- 8.193 Scaling2
- 8.194 SelectedElement
- 8.195 Selection
- 8.196 SewSurface
- 8.197 Shaft
- 8.198 Shape
- 8.199 ShapeFactory
- 8.200 Shapes
- 8.201 Shell
- 8.202 Sketch
- 8.203 SketchBasedShape
- 8.204 Sketches
- 8.205 Slot
- 8.206 SolidCombine
- 8.207 Spline2D
- 8.208 Split
- 8.209 Stiffener
- 8.210 StrParam
- 8.211 SurfaceBasedShape
- 8.212 Sweep
- 8.213 Symmetry
- 8.214 SystemService
- 8.215 TextStream
- 8.216 Thickness
- 8.217 ThickSurface
- 8.218 Thread
- 8.219 TransformationShape
- 8.220 Translate
- 8.221 Trim
- 8.222 TritangentFillet
- 8.223 UserPattern
- 8.224 VarRadEdgeFillet
- 8.225 VisPropertySet
-
9. Featured VBScript Commands
- 9.1 Abs
- 9.2 Asc
- 9.3 Boolean
- 9.4 Byte
- 9.5 CBool
- 9.6 CByte
- 9.7 CDate
- 9.8 CDbl
- 9.9 Chr
- 9.10 CInt
- 9.11 CLng
- 9.12 Const
- 9.13 Cos
- 9.14 CSng
- 9.15 CStr
- 9.16 Date
- 9.17 Day
- 9.18 Dim
- 9.19 Dim ()
- 9.20 Double
- 9.21 Do-Until
- 9.22 Do-While
- 9.23 Empty
- 9.24 End
- 9.25 Err
- 9.26 Exit
- 9.27 Exp
- 9.28 Fix
- 9.29 For-Next
- 9.30 Function
- 9.31 Hour
- 9.32 If-Then-Else
- 9.33 InputBox
- 9.34 InStr
- 9.35 Int
- 9.36 Integer
- 9.37 IsDate
- 9.38 IsEmpty
- 9.39 IsNull
- 9.40 IsNumeric
- 9.41 Join
- 9.42 LCase
- 9.43 Left
- 9.44 Len
- 9.45 Log
- 9.46 Long
- 9.47 LTrim
- 9.48 Mid
- 9.49 Minute
- 9.50 Mod
- 9.51 Month
- 9.52 MsgBox
- 9.53 Now
- 9.54 Null
- 9.55 On Error Resume Next
- 9.56 Randomize
- 9.57 ReDim
- 9.58 Rem
- 9.59 Right
- 9.60 Rnd
- 9.61 RTrim
- 9.62 Second
- 9.63 Select Case
- 9.64 Set
- 9.65 Sin
- 9.66 Single
- 9.67 Sgn
- 9.68 Sqr
- 9.69 StrReverse
- 9.70 String
- 9.71 Sub
- 9.72 Tan
- 9.73 Time
- 9.74 Timer
- 9.75 TimeValue
- 9.76 Trim
- 9.77 UCase
- 9.78 Year
- Index
Product information
- Title: CATIA V5
- Author(s):
- Release date: April 2013
- Publisher(s): McGraw-Hill
- ISBN: 9780071800037
You might also like
video
Hands-On SolidWorks
SolidWorks is a solution for any business or professional looking to integrate design and manufacturing processes …
book
Learn SOLIDWORKS 2020
Explore a practical and example-driven approach to understanding SOLIDWORKS 2020 and achieving CSWA and CSWP certification …
video
CompTIA Security+ SY0-701
27+ Hours of Video Instruction Get the edge you need to successfully study for the CompTIA …
video
Linux Fundamentals, 2nd Edition
10+ Hours of Video Instruction More than 10 hours of video instruction to get you up …