Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
PREV
⏮
9. Featured VBScript Commands
🔎
Index
Abs, 497
ActivePrinter, 145
ActiveWindow, 145
– addition, 61
Addition, 61
Additional information, 29
AddNewSolidFaceFillet, 463
AddNewSolidTritangentFillet, 463
AddNewSurfaceEdgeFilletWithConstantRadius, 464
AddNewSurfaceEdgeFilletWithVaryingRadius, 464
AddNewSurfaceFaceFillet, 464
AddNewSurfaceTritangentFillet, 464
AddNewSurfaceUserPattern, 465
AddNewSurfacicCircPattern, 465
AddNewSurfacicRectPattern, 465
Anchor object, 23
And, 20
Angle, 66
Angle line, 97
– base class, 5
– height, 146
– interactivity, 147
– left, 147
– name, 145
– top, 148
– visible, 148
– width, 148
– windows, 149
– Documents property, 35
Find answers on the fly, or master something new. Subscribe today. See pricing options.
– FileSelectionBox, 36, 46
– SystemService property, 51
Application windows, 23
Asc, 497
– addition, 61
Attributes
– CATParts, 53–54
– CATProducts, 53–54, 77
AxisLine, 97
Base class, 5
Block, 14
– Add method, 56
– standard body, 57
– body, 55
– geometrical set, 58
– sketch, 83
– solid, 124
– 3D wireframe geometry, 92
BooleanShape, 123
BOM, 428
Branch, 19
BRep, 71–74
Byte, 498
CacheSize, 145
CATBStr, 16
CATGeometricType identifiers, 43
CATMain, 17
CATParts, 53–76
– attributes, 53–54
– bodies, 56–57
– formula, 68–69
– origin elements, 55
– parameter, 65–66
– product structure, 27
– references, 69–74
– structural information, 26
CATProducts, 77–82
– attributes, 77
– constraints, 81–82
– formulas, 78
– metadata, 428
– parameters, 78
– purpose, 77
– structural information, 26
CATSafeArrayVariant, 16
CATScript, 1–3
CATScriptLibraryType, 50
CATVariant, 16
CATVBA, 2
CATVBS, 1 , 2
CBool, 498
CByte, 498
CDate, 499
CDbl, 499
Child class, 4
Chr, 499
CInt, 500
CircPattern, 116
Class hierarchy, 4 , 5
CLng, 500
Collection.Bodies, 150
– base class, 6
Collection.Constraints, 163
Collection.Documents, 173
Collection.DraftDomains, 176
Collection.Files, 183
Collection.Folders, 186
Collection.GeometricElements, 187
Collection.HybridBodies, 192
Collection.OrderedGeometricalSets, 411
Collection.Parameters, 415
Collection.Products, 431
Collection.References, 437
Collection.Relations, 439
Collection.Shapes, 467
Collection.Sketches, 471
Comment line, 15
Configuration, 65, 67
Const, 500
Constraint
– CATProducts, 81–82
CopyFile, 184
CopyFolder, 184
Cos, 501
Create
– anchor object, 23
– body, 56
– document, 35–36
– file, 47
– formula, 68–69
– geometrical set, 58
– macro, 6–7
– parameter, 66
– sketch, 84
– solid, 124–125
– square, 86
– toolbar, 12–13
CreateBoolean, 415
CreateDimension, 415
CreateFile, 184
CreateFolder, 184
CreateInteger, 415
CreateList, 416
CreateReal, 416
CreateSetOfParameters, 416
Find answers on the fly, or master something new. Subscribe today. See pricing options.
CreateString, 416
CSng, 501
CStr, 501
Curly brace, 3
Curve point, 94
Custom attributes, 54
Cylinder
Date, 502
Day, 502
Declaration
– body, 56–57
– file, 46, 47
– geometrical set, 59
– origin plane, 55
– 3D toolbox, 91
Delete node, 80
DeleteFile, 184
DeleteFolder, 184
Develop, 105
Dim, 502
Dimension, 415
Do-Until, 22
Do-While, 21–22
Document, 34–38
– add, 173
– create, 35–36
– load, 36–37
– new, 173
– save, 37–38
– CATIA document, 34
– Saved property, 38
– saving documents, 37
– Selection property, 38
– loading documents, 36
– new document, 35
– open documents, 35
Draft
– example, 140–141
Edge fillet, 74
Empty, 503
End, 504
Err, 504
Exit, 504
Exit For, 21
Exp, 504
Explicit line, 97
Explicit point, 94
Extrapolate, 119
– 2D toolbox, 85
– Add, 143
– Angle, 143
– AngularRepartition, 144
– AnyObject, 144
– Application, 145
– Assemble, 149
– Axis2D, 149
– Bodies, 150
– Body, 150
– BooleanShape, 151
– BoolParam, 152
– CATBaseDispatch, 152
– Chamfer, 152
– Circle2D, 154
– CircPattern, 155
– CloseSurface, 157
– Collection, 157
– ConstRadEdgeFillet, 158
– Constraint, 159
– Constraints, 163
– ControlPoint2D, 164
– Curve2D, 165
– DesignTable, 167
– Dimension, 169
– Document, 169
– Documents, 173
– Draft, 174
– DraftDomain, 175
– DraftDomains, 176
– DressUpShape, 177
– EdgeFillet, 177
– Ellipse2D, 178
– FaceFillet, 179
– Factory, 179
– Factory2D, 180
– File, 182
– FileComponent, 182
– Files, 183
– FileSystem, 183
– Fillet, 185
– Folder, 186
– Folders, 186
– Formula, 186
– GeometricElement, 187
– GeometricElements, 187
– Geometry2D, 187
– Groove, 188
– Hole, 188
– HybridShape, 193
– HybridShapeAffinity, 195
– HybridShapeAssemble, 196
– HybridShapeAxisLine, 200
– HybridShapeAxisToAxis, 201
– HybridShapeBlend, 202
– HybridShapeBoundary, 208
– HybridShapeCircle, 209
– HybridShapeCircleBitangentPoint, 214
– HybridShapeCircleBitangentRadius, 216
– HybridShapeCircleCenterAxis, 218
– HybridShapeCircleCenterTangent, 219
– HybridShapeCircleCtrPt, 221
– HybridShapeCircleCtrRad, 223
– HybridShapeCircleExplicit, 224
– HybridShapeCircle3Points, 213
– HybridShapeCircle2PointsRad, 211
– HybridShapeCircleTritangent, 225
– HybridShapeCombine, 227
– HybridShapeConic, 228
– HybridShapeConnect, 232
– HybridShapeCorner, 234
– HybridShapeCurveExplicit, 237
– HybridShapeCurvePar, 237
– HybridShapeCurveSmooth, 240
– HybridShapeCylinder, 243
– HybridShapeDirection, 244
– HybridShapeExtract, 246
– HybridShapeExtractMulti, 248
– HybridShapeExtrapol, 252
– HybridShapeExtremum, 254
– HybridShapeExtremumPolar, 255
– HybridShapeExtrude, 257
– HybridShapeFactory, 258
– HybridShapeFill, 288
– HybridShapeFilletBiTangent, 292
– HybridShapeFilletTriTangent, 295
– HybridShapeHelix, 296
– HybridShapeIntegratedLaw, 299
– HybridShapeIntersection, 302
– HybridShapeInverse, 303
– HybridShapeLawDistProj, 304
– HybridShapeLineAngle, 306
– HybridShapeLineBisecting, 308
– HybridShapeLineBiTangent, 310
– HybridShapeLineExplicit, 311
– HybridShapeLineNormal, 312
– HybridShapeLinePtDir, 313
– HybridShapeLinePtPt, 315
– HybridShapeLineTangency, 317
– HybridShapeLoft, 319
– HybridShapeNear, 325
– HybridShapeOffset, 326
– HybridShapePlaneAngle, 329
– HybridShapePlaneEquation, 331
– HybridShapePlaneExplicit, 332
– HybridShapePlaneMean, 332
– HybridShapePlaneNormal, 333
– HybridShapePlaneOffset, 334
– HybridShapePlaneOffsetPt, 335
– HybridShapePlane1Curve, 327
– HybridShapePlaneTangent, 335
– HybridShapePlane2Lines, 328
– HybridShapePointBetween, 336
– HybridShapePointCenter, 337
– HybridShapePointCoord, 337
– HybridShapePointExplicit, 338
– HybridShapePointOnCurve, 338
– HybridShapePointOnPlane, 340
– HybridShapePointOnSurface, 341
– HybridShapePointTangent, 342
– HybridShapePolyline, 343
– HybridShapePositionTransfo, 344
– HybridShapeProject, 347
– HybridShapeReflectLine, 348
– HybridShapeRevol, 350
– HybridShapeRotate, 351
– HybridShapes, 353
– HybridShapeScaling, 353
– HybridShapeSection, 354
– HybridShapeSphere, 354
– HybridShapeSpine, 356
– HybridShapeSpiral, 358
– HybridShapeSpline, 360
– HybridShapeSplit, 365
– HybridShapeSurfaceExplicit, 368
– HybridShapeSweep, 368
– HybridShapeSweepCircle, 369
– HybridShapeSweepConic, 375
– HybridShapeSweepExplicit, 380
– HybridShapeSweepLine, 386
– HybridShapeSymmetry, 395
– HybridShapeThickness, 396
– HybridShape3DCurveOffset, 194
– HybridShapeTranslate, 397
– HybridShapeTrim, 399
– Hyperbola2D, 402
– Intersect, 403
– IntParam, 404
– KnowledgeActivateObject, 405
– KnowledgeObject, 405
– Length, 406
– Limit, 406
– Line, 407
– LinearRepartition, 408
– Line2D, 408
– Loft, 409
– Mirror, 409
– OrderedGeometricalSet, 410
– OrderedGeometricalSets, 411
– OriginElements, 412
– Pad, 412
– Parabola2D, 413
– Parameter, 413
– Parameters, 415
– Part, 417
– PartDocument, 421
– Pattern, 422
– Plane, 423
– Pocket, 424
– Point, 425
– Point2D, 425
– ProductDocument, 430
– Products, 431
– RealParam, 433
– RectPattern, 434
– Reference, 437
– References, 437
– Relation, 437
– Relations, 439
– Remove, 440
– RemoveFace, 441
– Repartition, 442
– ReplaceFace, 442
– Revolution, 443
– Rib, 443
– Rotate, 444
– Scaling, 445
– Scaling2, 445
– SelectedElement, 446
– Selection, 447
– SewSurface, 452
– Shaft, 453
– Shape, 453
– ShapeFactory, 453
– Shapes, 467
– Shell, 468
– Sketch, 469
– SketchBasedShape, 471
– Sketches, 471
– Slot, 472
– SolidCombine, 472
– Spline2D, 473
– Split, 474
– Stiffener, 474
– StrParam, 475
– SurfaceBasedShape, 476
– Sweep, 476
– Symmetry, 479
– SystemService, 479
– TextStream, 481
– Thickness, 482
– ThickSurface, 483
– Thread, 484
– TransformationShape, 485
– Translate, 486
– Trim, 486
– UserPattern, 488
– VarRadEdgeFillet, 489
– VisPropertySet, 490
– Abs, 497
– Asc, 497
– Boolean, 498
– Byte, 498
– CBool, 498
– CByte, 498
– CDate, 499
– CDbl, 499
– Chr, 499
– CInt, 500
– CLng, 500
– CSng, 501
– CStr, 501
– Date, 502
– Day, 502
– Dim, 502
– Do-Until, 503
– Do-While, 503
– Double, 503
– Empty, 503
– End, 504
– Err, 504
– Exit, 504
– Exp, 504
– Fix, 505
– For-Next, 505
– Function, 505
– Hour, 505
– If-Then-Else, 506
– InputBox, 506
– InStr, 506
– Int, 506
– Integer, 507
– IsDate, 507
– IsEmpty, 507
– IsNull, 508
– IsNumeric, 508
– Join, 508–509
– LCase, 509
– Left, 509
– Len, 509–510
– Log, 510
– Long, 510
– LTrim, 510
– Mid, 511
– Minute, 511
– Mod, 511
– Month, 512
– MsgBox, 512
– Now, 512
– Null, 512
– Randomize, 513
– ReDim, 513
– Rem, 514
– Right, 514
– Rnd, 514
– RTrim, 514–515
– Second, 515
– Set, 515
– Sgn, 516
– Sin, 515–516
– Single, 516
– Sqr, 516
– String, 517
– StrReverse, 517
– Sub, 517
– Tan, 517
– Time, 518
– Timer, 518
– UCase, 519
– Year, 519
FEdge, 71, 72
File path, 51
FileExists, 184
FileSeparator, 184
– CreateFile method, 47
– GetFile method, 46
Fix, 505
FolderExists, 184
For-Next, 21
Formula, 68–69, 78
FSur, 71, 72
General description, 3
– geometrical type, 42
– object, 43
Geometry object, 69
GetFile, 184
GetFolder, 185
Global environment, 50
Go to Line, 8
Head of a macro, 15
Hierarchical structure, 4 , 5
Hour, 505
– sketch, 83
– 3D wireframe geometry, 92
– direction definition, 75
– HybridShapeHelix, 297
– 3D wireframe geometry, 91
Hyperbola, 181
Identity stamp, 35
If-Then-Else, 19–20
Individual object, 5
Inheritance, 44
InStr, 506
Instruction, 3
Int, 506
Interactive macro, 31
Interpreted language, 8
Intersect, 457
– intersection, 61
IsDate, 507
IsEmpty, 507
IsNull, 508
IsNumeric, 508
Join
– function, 508–509
– example, 121
LCase, 509
Left, 509
Len, 509–510
– create, 86
Line break, 33
LineAngle, 97
LineBisecting, 97
LineBiTangent, 97
LineExplicit, 97
LineNormal, 97
LinePtDir, 97
LineTangency, 97
List object, 6
LocalCache, 147
Log, 510
Loop, 19
LTrim, 510
Macro
– block, 14
– create, 6–7
Find answers on the fly, or master something new. Subscribe today. See pricing options.
– editor, 7 , 8–9
– head, 15
– interactive, 31
– save, 7
– storage, 9–11
Macro library, 10
Macros window, 6
Method, 4
Mid, 511
Minute, 511
Mirror
– example, 135–136
Mod, 511
Month, 512
Name, 144
New File, 8
Nomenclature, 3 , 429
Non-penetrating surface, 63
Normal line, 98
Not, 20
Now, 512
Null, 512
Object
Find answers on the fly, or master something new. Subscribe today. See pricing options.
– defined, 4
– direction definition, 75
Object Browser, 8
Object Path, 5
Online documentation, 29
Open, 36
Open File, 8
Optional word, 3
Options window, 9
Or, 20
– Bodies property, 56
– 3D wireframe geometry, 92
Origin elements, 55
Origin plane, 55
Parabola, 181
class
– comment, 414
– context, 414
– rename, 414
– value, 415
– visibility, 414
– parameter, 65
Parent class, 4
– Bodies property, 56
– create reference, 69
– CreateReferenceFromBRepName method, 71
– CreateReferenceFromName method, 70
– CreateReferenceFromObject method, 70
– geometrical sets, 58
– InWorkObject property, 62
– OriginElements property, 55
– Parameter property, 65
– PartBody, 57
– solid, 124
– 3D toolbox, 61, 91
– Update method, 86
PartBody, 57
– anchor object, 25
PathSeparator, 185
Penetrating surface, 63
Plane point, 94
PlaneAngle, 101
PlaneEquation, 101
PlaneExplicit, 101
PlaneMean, 101
PlaneNormal, 101
PlaneOffset, 101
PlaneTangent, 101
– create, 86
PointBetween, 93
PointCenter, 93
PointCoord, 93
PointExplicit, 93
PointOnCurve, 93
PointOnPlane, 93
PointOnSurface, 93
PointTangent, 93
Printers, 147
– CATProducts, 78
– constraints, 81
– custom attributes, 54
– metadata of CATParts, 53
– standard attributes, 54
– structural data/metadata, 26
– Product method, 77
Programming Interface, 29
Property, 4
Quit, 147
Randomize, 513
Ratio, 73
Read, 37
Real, 433
Real color, 44
Real number, 66
Recognize, 42–44
Rectangular pattern
– example, 136
RectPattern, 116
ReDim, 513
– empty, 70–71
– geometry, 70
– object, 70
– object name, 70
Relation, 437
– comment, 438
– definition, 438
– modification, 438
– rename, 438
– design table, 67
– formula, 68
Relationship, 65
Rem, 514
– subtraction, 61
Replace node, 80
Revision, 430
Right, 514
Rnd, 514
Root class, 5
Rotation axis, 88
RTrim, 514–515
Save, 37
– document, 37–38
– macro, 7
Save File, 8
SaveAs, 38
Saved, 38
Find answers on the fly, or master something new. Subscribe today. See pricing options.
Saving documents, 37–38
Second, 515
Select-Case-Else, 20
– properties/methods, 39
– clear, 447
– copy, 447
– count, 447
– counter, 449
– cut, 447
– delete, 448
– FilterCorrespondence, 448
– FindObject, 448
– IndicateOrSelectElement3D, 449
– IndicateOrSelectElement2D, 448
– paste, 449
– PasteLink, 450
– PasteSpecial, 450
– search, 450
– SelectElement, 451
– visibility, 490–495
– Add method, 44
– conflict, 38
– Search method, 41
– VisProperties method, 44
Self-defined word, 3
Set, 515
Sgn, 516
– HybridShapeExtrude, 257
– solids, 138
Sin, 515–516
Single, 516
– CloseEdition, 469
– constraints, 470
– evaluate, 470
– GetAbsoluteAxisData, 470
– InverseOrientation, 470
– SetAbsoluteAxisData, 471
– 2D axis, 469
– 2D toolbox, 470
– CloseEdition method, 86
– constraints, 89
– 2D toolbox, 85
Sketch reference, 83
– Add method, 83
Solids, 123–141
– create, 124–125
– operations, 137–141
– overview, 123
– sketch-based, 125–129
– surface-based, 129–132
– swept, 125
– 3D toolbox, 124
– transitional, 125
Spline
Split
Sqr, 516
Square, 86, 87
Square bracket, 3
Standard attributes, 54
Standard body, 57
StrReverse, 517
Structural information, 26
Sub, 517
Subdirectories, 186
Subroutine, 17–18
Subtraction, 61
Sweep, 111, 113. See also Swept Surface Definition dialog box
Symmetry
Tan, 517
Tangent line, 98
TemporaryDirectory, 185
Thickness
3D document, 171
3D line, 407
3D point, 425
3D toolbox, 91
– curves, 104–110
– lines, 96–100
– operations, 118–122
– planes, 101–104
– points, 93–96
– surfaces, 111–115
– 3D toolbox, 91
– transformations, 115–118
Time, 518
Timer, 518
TimeValue, 518
Toolbar, 11–14
Translation
– create, 134
Transparency, 492
Trim
– function, 519
– addition, 61
– removed surface, 63
TriTangent fillet
2D curve, 165–167
2D document, 171
2D hyperbola, 402
2D point, 181
2D spline, 473
– constraints, 89–90
– construction element, 88
– rotation axis, 88
UCase, 519
Updates, 430
User environment, 50
UUID, 35
V5-Editor, 7 , 8–9
Variable, 3
Variable types, 16
Vector, 75
Vertex, 71, 72
Visible color, 44
– color/hide elements, 44
– hiding elements, 45
– real color, 45
Whole number, 66
Windows, 23
Wireframe, 91
Word, 3
Work environment, 13
Writing data, 48
Year, 519
Browse / Resource Centers / Playlists / History / Topics / Learning Paths / Highlights / Settings / Support / Sign Out
© 2019 O'Reilly Media, Inc. Terms of Service / Privacy Policy
PREV
⏮
9. Featured VBScript Commands Find answers on the fly, or master something new. Subscribe today. See pricing options.