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!

Click bottons on an Inputbox of CatiaScript

Status
Not open for further replies.

diegocatia

Aerospace
Feb 19, 2015
5
ES
Good morning,

I've got an issue with CatiaScript.

Is it possible to run a macro and to be ask for click options?

What I mean is, instead of asking for a value that you have to write, ask for one choosen by clicking on it.

Attached screenshots

Picture 1 shows Yes or No bottons, that's what I want but choosing between for example: M1, M2, M3, M4...
Picture 2 shows an example of writting windows.


Picture 1
Your file's link is:

Picture 2
Your file's link is:

Thank you very much
 
Replies continue below

Recommended for you

what you're looking for is the child window handler...google that

Eric N.
indocti discant et ament meminisse periti
 
Hi,

First observation is that I can't see your attachments. Second, CATScript, catvbs, vbs in general are limited languages, you can't create nice forms with a lot of button unless if you are using inside an hta application (so you can create dynamically another hta and pass back variables - or find another way to work with).

Better try vba (or vb.net) and follow Eric's advice.

Regards
Fernando

- Romania
- EU
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top