OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > CorelDRAW > General

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24-02-2006, 06:57
excessiveforce
Guest
 
Posts: n/a
Default Create a cut order for from Corel.

Hello, I am hoping I can get an answer to my post without a photo so here it goes. At my company we have several large routers that cut using very simple routing software. For safety and quality reasons, we route out the sheet metal in a certain order. The software however is terrible and the only way to change the order is to grab the object in a layers menu, just like Corel Draw, and drag it in position for the cut order you want. I just recently discovered that I can do the same thing in Corel and the route program will recognize the cut order from Corel. What I would like to know, is there a way I can create a script that will allow me to click on the objects I want to cut by placing them in the appropriate order. Basically it would work like this: Start Script-> Send to back (or front) is activated-> Click first object(object then goes to back)->Send to back is still active and then your proceed to click on the next object(object goes behind first object->Continue this process until you have the order you want and then stop the script. If you don't understand this I will gladly try and post a graphic description. Thank you for reading.
Reply With Quote
  #2  
Old 24-02-2006, 07:47
ddonnahoe's Avatar
ddonnahoe ddonnahoe is offline
Senior Member
 
Join Date: Jan 2004
Location: Louisville, KY
Posts: 552
Send a message via ICQ to ddonnahoe Send a message via AIM to ddonnahoe Send a message via MSN to ddonnahoe Send a message via Yahoo to ddonnahoe
Default

Actualy there is a very easy way to do this without VBA or a script. Select the object you want to send to back and hold shift while pressing the Page Down key. This will send the object to the bottom of the stack of objects on that layer. Keep doing this in turn for each object. When you are finished, you will have the first object you selected at the top of the stack and last one is at the bottom.

I hope this helps. If you need them to actually go to new layers, then you may have to write a script. Let us know if this is the case.
__________________
Sean
Waiting for a ride in the T.A.R.D.I.S.
Reply With Quote
  #3  
Old 24-02-2006, 09:56
excessiveforce
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by ddonnahoe
Actualy there is a very easy way to do this without VBA or a script. Select the object you want to send to back and hold shift while pressing the Page Down key. This will send the object to the bottom of the stack of objects on that layer. Keep doing this in turn for each object. When you are finished, you will have the first object you selected at the top of the stack and last one is at the bottom.

I hope this helps. If you need them to actually go to new layers, then you may have to write a script. Let us know if this is the case.
Thanks, I have done this. The only problem is sometimes we will route out over 100 pieces in a sheet and it can get very tedious using the shortcut key over and over again. We had an older route program that worked exactly the way I want it to but it has been phased out.
Reply With Quote
  #4  
Old 24-02-2006, 10:27
ddonnahoe's Avatar
ddonnahoe ddonnahoe is offline
Senior Member
 
Join Date: Jan 2004
Location: Louisville, KY
Posts: 552
Send a message via ICQ to ddonnahoe Send a message via AIM to ddonnahoe Send a message via MSN to ddonnahoe Send a message via Yahoo to ddonnahoe
Default

Let me work on something over the weekend and I will send it to you on Monday. Do you wan the items on a new layer for each item or all on the same layer, just stacked in a certain order?
__________________
Sean
Waiting for a ride in the T.A.R.D.I.S.
Reply With Quote
  #5  
Old 24-02-2006, 11:34
excessiveforce
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by ddonnahoe
Let me work on something over the weekend and I will send it to you on Monday. Do you wan the items on a new layer for each item or all on the same layer, just stacked in a certain order?
Just stacked would be perfect. Thank you. Also, where can I go to learn how to do my own scripts? I can do very, very basic scripts but that's about it.
Reply With Quote
  #6  
Old 24-02-2006, 12:08
ddonnahoe's Avatar
ddonnahoe ddonnahoe is offline
Senior Member
 
Join Date: Jan 2004
Location: Louisville, KY
Posts: 552
Send a message via ICQ to ddonnahoe Send a message via AIM to ddonnahoe Send a message via MSN to ddonnahoe Send a message via Yahoo to ddonnahoe
Default

Search for this file in your Corel installation folder on your hard-drive. dvba_pg.pdf It has a wealth of information for begginers in VBA. Also, post here with any questions you may have or search older posts to find answers to everyday questions.
__________________
Sean
Waiting for a ride in the T.A.R.D.I.S.
Reply With Quote
  #7  
Old 25-02-2006, 05:23
excessiveforce
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by ddonnahoe
Search for this file in your Corel installation folder on your hard-drive. dvba_pg.pdf It has a wealth of information for begginers in VBA. Also, post here with any questions you may have or search older posts to find answers to everyday questions.
Great thank you.
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
corel draw 11 and Corel Trace 11 BEAMA General 2 04-08-2005 19:39
Turning on color calibration in a Corel Script Alien2001 CorelDRAW CS 2 13-07-2005 23:34
Corel Technology Partner Program Survey Alex CorelDRAW/Corel DESIGNER VBA 4 05-05-2005 09:00
Can I create CustomShape with VBA for CD? Can I create tool? Jab CorelDRAW/Corel DESIGNER VBA 0 01-02-2005 05:02
Corel Capture 8 and Corel Script Helix CorelDRAW CS 0 13-12-2002 18:10


All times are GMT -5. The time now is 20:12.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com