Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations JStephen on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB programming

  • Thread starter Thread starter minigui
  • Start date Start date
Status
Not open for further replies.
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
 
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:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top