OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22-11-2006, 14:51
click101
Guest
 
Posts: n/a
Default Create Boundary feature enhancement

Is there any way to modify the "Create Boundary" feature to be larger or smaller than the objects? The final object would need to be a shape not an outline.

The long way would be to create the boundary and add a contour inside or outside but that is alot of steps...

Any ideas?

Thanks,
Georgeann
Reply With Quote
  #2  
Old 22-11-2006, 21:42
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default

No, I guess contour is the way to go...
Reply With Quote
  #3  
Old 24-11-2006, 19:03
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,770
Blog Entries: 10
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Advanced Boundry

Quote:
Originally Posted by click101
Is there any way to modify the "Create Boundary" feature to be larger or smaller than the objects? The final object would need to be a shape not an outline.
I have seen this requested a couple times so here is what I have come up with so far. You can download the gms, or import the files from the zip file into an existing gms, which ever you prefer. I have also attached a screen shot of the form. The basic feature of the Advanced Boundary are:

1. Offset: Inside / Outside
2. Apply Outline Color or No Outline
3. Apply Fill Color or No Fill
4. Supports most of the color models: CMYK, RGB, HSB, etc.
5. Single Undo

To create an outline or fill of none, click on the button and then just cancel to color dialog. (Kinda weird I know, but it is simple and should work.) Make sure you are using CorelDRAW X3 SR1, or this may not work. Suggestions for improving this macro are always welcome, but this should give you a very good start.

Happy coding,

Shelby
Attached Images
 
Attached Files
File Type: gms AdvancedBoundary.gms (28.0 KB, 392 views)
File Type: zip AdvancedBoundary.zip (3.2 KB, 331 views)

Last edited by shelbym; 24-11-2006 at 19:20.
Reply With Quote
  #4  
Old 27-11-2006, 07:23
click101
Guest
 
Posts: n/a
Default Boundary

Works great!!! Thanks a lot!
Reply With Quote
  #5  
Old 22-03-2016, 04:47
dungbtl's Avatar
dungbtl dungbtl is offline
Senior Member
 
Join Date: Apr 2004
Posts: 146
Default Blast from the Past....

Wow, 10 years later and I find this. How...?

Was curious as to why Create Boundary is faster than welding objects together.
I know they're diff animals to say, but they act the same except CB leaves original objects.

Is there a possibility to add a reduced node function to this?
To get rid of those extra nodes where objects sit on one another.

Very cool indeed.
Reply With Quote
  #6  
Old 23-03-2016, 07:25
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

Shelby, this is very cool. The next step... Make it take into account outline widths on selected objects.
__________________
Sean
Waiting for a ride in the T.A.R.D.I.S.
Reply With Quote
  #7  
Old 15-04-2016, 15:04
dungbtl's Avatar
dungbtl dungbtl is offline
Senior Member
 
Join Date: Apr 2004
Posts: 146
Thumbs up

How about this for a stretch...

With text or objects close together

Individual outlines per object w/ offset?

Liking that AB one alot.
Reply With Quote
  #8  
Old 04-12-2016, 00:27
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,770
Blog Entries: 10
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Examples

dungbtl,

I would need some examples, but then I could see if I can get the results you want.

-Shelby
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
"Failed to Create New Document" error message Alex FAQ 1 20-06-2007 14:07
Macro for create boundary option nikhiscd Macros/Add-ons 14 31-10-2006 23:38
Script to help create a score mark. Inkman Macros/Add-ons 25 23-07-2006 17:57
Create Dimensions via VBA ddonnahoe CorelDRAW/Corel DESIGNER VBA 1 14-10-2005 14:52
Can I create CustomShape with VBA for CD? Can I create tool? Jab CorelDRAW/Corel DESIGNER VBA 0 01-02-2005 05:02


All times are GMT -5. The time now is 16:45.


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