CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > CoCreate Drafting

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-11-2011, 12:48 PM
Caltex Caltex is offline
Registered User
 
Join Date: Jan 2011
Posts: 7
Open new Me10 session from macro

Hi,

I use vers. 13.20
We use a macro to find and load files in to the active me 10 session.

Quote:
LOAD laddfil
What i would like to do now, is for the macro to open a new Me 10 session, with help from the filepath specified in the macro.

How can i do this?

Regards Tobias
Reply With Quote
  #2  
Old 01-12-2011, 11:20 AM
Peter Boks Peter Boks is offline
Registered User
 
Join Date: Oct 2002
Location: Rotterdam, The Netherlands
Posts: 37
Re: Open new Me10 session from macro

In the Classic User Interface you can go to the file menu and click the button "ToNewInst". You can enter path/filename on the command line or you can open the filebrowser and pick one.

In the Windows User Interface You can click:
File => New => Dwg in New Window and pick the file you want to open in a new session.

Hope this helps.
Best regards,
Peter Boks
Reply With Quote
  #3  
Old 01-13-2011, 01:32 AM
Caltex Caltex is offline
Registered User
 
Join Date: Jan 2011
Posts: 7
Re: Open new Me10 session from macro

Thanks for the answer Peter.

We use Windows interface, and i can do like you wrote:
Quote:
File => New => Dwg in New Window and pick the file you want to open in a new session.
But it doesn't help me much, i'm sorry to say.Unless i can in some way extract the "Dwg in New Window"-function, and use it in my macro?

Does anyone use a Macro that starts a external Program?
(it would be very useful to see the code)

Regards Tobias
Reply With Quote
  #4  
Old 01-13-2011, 01:39 AM
Peter Boks Peter Boks is offline
Registered User
 
Join Date: Oct 2002
Location: Rotterdam, The Netherlands
Posts: 37
Re: Open new Me10 session from macro

Hello Tobias.

If you start up the Classic User Interface and go to the file menu you can see the code used to open a new window. The button "ToNewInst" actually starts a macro. If you enter EDIT_MACRO on the command line and then click the button, you will see the code.

Regards Peter
Reply With Quote
  #5  
Old 01-13-2011, 04:24 AM
Caltex Caltex is offline
Registered User
 
Join Date: Jan 2011
Posts: 7
Re: Open new Me10 session from macro

This tip is Priceless!

Thank you!

Regards Tobias
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:36 PM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.