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 15-11-2012, 16:26
Sablesword Sablesword is offline
Junior Member
 
Join Date: Aug 2006
Posts: 20
Default Keeping track of nodes

When using VBA to manipulate nodes, what is Corel Draw's internal logic wrt the nodes in a curve, and what is the "best practice" for keeping track of the nodes one is interested in?

I've already found out the hard way that if I create a node variable and assign a node to it, then the node referred to by that variable will sometimes change when I add nodes, delete nodes, or break apart nodes elsewhere in the curve.
Reply With Quote
  #2  
Old 15-11-2012, 18:26
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

Hi.
Nodes are very tricky. I found the best way is to put nodes you want into and array. Please their x and y coordinates in the array. Then use SelectNodeAtPoint. This is a great way to beat the limitations of the nodeRange, multiple shapes, and the other weird things that happen when working with nodes.
~John
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
Copy from Adobe Illustrator to CorelDraw X3 (and keeping same position) ralf@cmax.fr Macros/Add-ons 3 12-04-2012 12:09
Insert page keeping layers?? knowbodynow CorelDRAW/Corel DESIGNER VBA 2 11-05-2010 22:51
Print merge to PDF while keeping hyperlinks! fungel General 2 07-03-2009 07:30
Constructing railroad track in CorelDraw 12 Mandrak CorelDRAW/Corel DESIGNER VBA 0 02-03-2005 07:38
Keeping the stacking order when changing layers Rick Randall CorelDRAW/Corel DESIGNER VBA 1 04-02-2003 23:34


All times are GMT -5. The time now is 15:36.


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