oBlue = Int(Rnd(1) * 255 + 1) oSelection.VisProperties.SetRealColor oRed, oGreen, oBlue, 1 oSelection.Clear End Function 然后调用客制化的ChangeRndcolor函数就可以了,程序这样写: Call ChangeRndcolor(initPoint001) 客制化API的本质就是通过调用子函数并传递参数,来简化我们的编程,从而把更多的精...
VBA is delivered and installed by default with CATIA V5. Printer and Plotter Support UNIX - CATIA V5 supports the following plotter/printer languages: o CGM-ISO, ATA, CALS o Hewlett Packard HP-GL/2-RTL and HP-GL or IBM-GL subsets o OCE Graphics GPR50: VDF plotting routines o Post...
I’ve created a “Macro Pack” where you can conveniently download more than fifty of my macro codes all at once. I’ve listed each macro name, type (CATPart, CATProduct, CATDrawing, etc.), programming language (CATScript or VBA), and a brief description below. As you can see, I’ve...
Microsoft VisualBasic for Applications (VBA) at a minimum level of 6.0. VBA is delivered and installed by default with CATIA V5. Printer and Plotter Support UNIX - CATIA V5 supports the following plotter/printer languages: o CGM-ISO, ATA, CALS o Hewlett Packard HP-GL/2-RTL and HP-GL ...