I am working with Catia V5 at the moment, and need to translate a code snippet written in what I believe is VB Script to VBA.
Specifically, I have the following snippet which I am stuck on at the moment:
oSelection1.VisProperties.SetShow(INFITF.CatVisPropertyShow.catVisPropertyNoShowAttr)
Currently when I run this code there is an Runtime Error (#424), stating that I need to define an object. oSelection1 is defined as a Selection.
Could anyone point me in the right direction here? I am very new to VBA so I apologize if this is a rookie question.