Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  1. SirSkorpan

    Catia v5 VBA, StartCommand "Constraint" doesn't give the expected result

    I should say that I tried to use CATScript and MS VBScript with the same result as I got in VBA. And when I start script in those other two variants I don't get the option to start my script directly from the editor like you did.
  2. SirSkorpan

    Catia v5 VBA, StartCommand "Constraint" doesn't give the expected result

    That is so unfair :o I do exactly the same thing but I get the error explained before :( Could it be a bug in the version of Catia I'm running? I also notice you use a different editor commpared to me, do you also use an other type of script? When I start a new script I go to (in Catia)...
  3. SirSkorpan

    Catia v5 VBA, StartCommand "Constraint" doesn't give the expected result

    Do you really get that if you run that statement? I only get an error message saying "Unavailable Command" if I run that in a sketch. Or if I first select a sketch element and then run it, I get that box where you can choose constraints (but not make dimensions). :( I'm running Catia v5R20...
  4. SirSkorpan

    Catia v5 VBA, StartCommand "Constraint" doesn't give the expected result

    That is basically what I want to happen. After the button has been pressed I want the user to pick the sketch element/-s he/she wants to dimension. I'm not trying to set the dimension/constraint in this way I'm only trying to start the command so the user can set them (by picking in the sketch)...
  5. SirSkorpan

    Catia v5 VBA, StartCommand "Constraint" doesn't give the expected result

    To add to my previouspost. Since every other command is possible to run through the power bar (I belive that's what the little text box at the bottom of the Catia window is called), why would the Constraint/Dimension command not be possible? It is also possible to run the command through the...
  6. SirSkorpan

    Catia v5 VBA, StartCommand "Constraint" doesn't give the expected result

    Hi, Thank you for your reply! The problem is that I'm not actually trying to create dimensions (constraints) per se. What I want is to mimic the functionality of the button in the Constraint toolbar. So when someone pushes the button I create in VBA I want them to get the same result as if...
  7. SirSkorpan

    Catia v5 VBA, StartCommand "Constraint" doesn't give the expected result

    Hi, I'm currently learning to program Catia v5 in VBA. I've done a bit of VBA programming before as well as some other languages (Java, C++ and PHP primarily). At the moment I'm trying to create a toolbar that, among other things, has buttons, which mimic the command buttons in the default...

Part and Inventory Search

Top