9/17/2020 0 Comments Catia Vba Tutorial
Today you are able to produce your 1st macro, which launch CATIA if not.
![]() I will existing you the really basics programs of using VBA macros with CATIA V5. Very first of all CATIA Sixth is v5 can be piloted with primarily three feasible languages. I choosed to use VBA for a basic reason: It enables me to use easyly Excel to initial CATIA. Thats indicate I could make use of datasheets or graphics to create Components in CATIA V5. Furthermore it provides a better interface with the user (order switch, listbox.) and a invaluable programming help (automatical conclusion, help to discover errors). Nevertheless VBA provides disavantages like a fragile defense and it could end up being tough to move VBA macros. I assume in the right after that you have some requirements in VBA. If not, you can look at this write-up which existing briefly VBA for Excel. If its not really enough, you can discover plenty of tutorials in Internet. Before starting I present your fresh best buddy: the CATIA help. You discover it right here: CatiaV5intelacodebinV5Automation.chm. I suggest you to make immediatly a shórtcut on your desktop computer. If you would like to possess an interactive evaluation in Term for instance, you can use the link between CATIA and Phrase: just pull and fall a CATPart on your word record and you possess a image of your component. Double-click ón it and yóu can edit it in CATIA V5 ( Physique 1 ). First you can use the Visual Basic Publisher incorporated in CATIA Sixth is v5 (TOOLSMACROVisual Simple Editor Picture 2 ). You have got the same Macro menus ás in VBA Excel whére you can discover all the macro you have writed. You can furthermore document a macro if you possess a specifical need or when you didnt keep in mind the right syntax. Choose the macro you would like and then move and fall it in thé toolbar you wish. You can also use a personalised image if you dónt like the defauIt icon by pressing on Show Attributes ( Image 3 ). Personnaly, I found this solution more efficient for two factors. Nevertheless you possess to switch on the CATIA functions, propertys and varieties. Just verify the containers beginning by catia in TOOLREFERENCES (Image 3). The GetObject functionality enables to fixed CATIA application as the object you defined.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |