Welcome to 3DCADForums

Join our CAD community forums where over 25,000 users interact to solve day to day problems and share ideas. We encourage you to visit, invite you to participate and look forward to your input and opinions. Acrobat 3D, AutoCAD, Catia, Inventor, IronCAD, Creo, Pro/ENGINEER, Solid Edge, SolidWorks, and others.

Register Log in

VB programming

M

minigui

Guest
Hy,
I'm using visual basic to create parts on CATIA but I don't manage to get access to the "multi-view" command.
Does anybody know how I could do that?

Thanks In advance
 

support

New member
Try this...

Picked this up off the COE discussion board:

-----------------------------

Any command is accessible through CATScript command with following trick:
- Command can be written to "powerinput" as c:Multi-View
- All commands that can be written there, can be included to catvbs with following syntax:

Language="VBSCRIPT"
Sub CATMain()
CATIA.StartCommand("Multi-View")
End Sub

=> This toggles multi-view on and off through script, even when there is no actual VB-command for multi-view!

BR,
Lasse

---------------------

Good luck!
3DCADTips Help desk :cool:
 

Sponsor

Top