Key In commands misbehave

Discussion in 'Microstation' started by murali.dhanakoti, Feb 12, 2007.

  1. Hello Microstation users,

    I am trying to write a MDL program that would export the current model
    to a parasolid (x_t) file. I am trying to accomplish this using the
    following function call

    mdlInput_sendSynchronizedKeyin ("mdl keyin xmt xmtout
    test_parasolid.x_t",TRUE,INPUTQ_EOQ,NULL);

    When I load my MDL program into Microstation and do the appropriate
    actions that call the function containing this line, I do see a
    'Export to Parasolid-XMT file' message on the Microstation status bar,
    but no file is written. I tried giving the full path to the file like
    C:\tmp\test_parasolid.x_t and still no file is written. On the other
    hand when I do a

    mdlInput_sendSynchronizedKeyin ("mdl keyin xmt
    xmtout",TRUE,INPUTQ_EOQ,NULL);

    I see that the Export Parasolid dialog box pops up and prompts me for
    a location to save the file. Also, when I key-in xmtout C:\tmp
    \test_parasolid.x_t in the Key-in dialog of Microstation, the file
    gets written and location dialog does not show up (as expected)

    I am not really sure what I am missing in the above command. Any help
    will be greatly appreciated.

    Thanks,
    Murali Dhanakoti
    Software Engineer, ESI CFD Inc.
    6767 Old Madison Pike, Ste 600,
    Huntsville, AL 35806
     
    murali.dhanakoti, Feb 12, 2007
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.