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 19-11-2005, 06:37
zlatev
Guest
 
Posts: n/a
Question Automating curve smoothing in CDR9

Is it possible to automate curve smoothing?
I tried to record a macro, but it only contains the code for replacing the curve with a new one.
I am trying to figure out a way (no matter via VBA or CorelScript) to work over a bunch of selected objects and smooth the curves in them
(Select the single object, select all of its nodes, smooth the curves, using a parameter)
So how it could (and could it) be done?

Moreover I would be interested in accomplishing the task in CDR9, because there is great difference between later Corel Draw versions and CorelDraw 9. CDR9 does it better IMO.
And Smoothen method (and the NodeRange class) was introduced in CDR10...

Last edited by zlatev; 19-11-2005 at 09:50. Reason: Additional info added
Reply With Quote
  #2  
Old 19-11-2005, 14:11
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,791
Blog Entries: 15
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 Curve Smoothness

I have never liked the curve smoothness, I prefer the old autoreduce, which is still there and can be accesses via VBA like this, this is for 11 - 12, I don't recall 9 and 10, been to long sorry.

Code:
Sub AutoReduce()

ActiveShape.Curve.Nodes.All.AutoReduce 0.003

End Sub
Hope it helps,

Shelby
Reply With Quote
  #3  
Old 03-12-2005, 06:01
zlatev
Guest
 
Posts: n/a
Unhappy Does not help...

It is of major importance to access exactly the curve smoothing functionality of Corel Draw 9.
Auto reduce gives not suitable results and depends on the scale of the curve.
(e.g. the same curve (but scaled) will produce different results when auto reduced)

Last edited by zlatev; 14-12-2005 at 05:55. Reason: Managing email subscription options
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
Points on curve Pickuptrucker CorelDRAW/Corel DESIGNER VBA 3 06-11-2005 21:25
Bending shapes to match a curve jemmyell CorelDRAW/Corel DESIGNER VBA 0 01-11-2005 23:54
vba question bumblebee CorelDRAW/Corel DESIGNER VBA 4 04-08-2004 15:07
Tone Curve in PP12 Michael Cervantes Corel Photo-Paint VBA 2 06-04-2004 13:00
finding node angles? IanVincent CorelDRAW/Corel DESIGNER VBA 4 12-12-2003 23:32


All times are GMT -5. The time now is 06:13.


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