OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Old 11-02-2012, 23:09
Posts: n/a
Default Adding nodes to Node range

I was trying to add a few nodes from a curve to a node range so that I can break them apart. I did this for every shape in the selection.
However the problem was for the first curve everything worked fine.
For the second curve the second node always over-wrote the first node. Effectively, if I added 2 nodes to the second curve, only one was present in the node range.
Could someone please let me know what the problem here is?
Thank you

The code is identical,
ndr(i).Add ActiveSelection.Shapes(i).Curve.SubPaths(k).AddNodeAt(cps.Item(m).Offset)
ndr(j).Add ActiveSelection.Shapes(j).Curve.SubPaths(l).AddNodeAt(cps.Item(m).Offset2)
For ndr(j) always the first node was over-written


Last edited by prongs; 11-02-2012 at 23:13.
Reply With Quote
Old 18-02-2012, 17:03
shelbym's Avatar
shelbym shelbym is offline
Senior Member
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,790
Blog Entries: 13
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 CrossPoint

Try adding cdrAbsolutSegmentOffset:
ndr(i).Add ActiveSelection.Shapes(i).Curve.SubPaths(k).AddNodeAt(cps.Item(m).Offset, cdrAbsoluteSegmentOffset)
ndr(j).Add ActiveSelection.Shapes(j).Curve.SubPaths(l).AddNodeAt(cps.Item(m).Offset2, cdrAbsoluteSegmentOffset)
Hope that helps,

Reply With Quote
Old 19-02-2012, 15:13
Posts: n/a

Thank you.
I tried with AbsoluteSegment offset too and still have the same problem.

A node gets added at the point however, that node is not added to the node range.
Reply With Quote


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
Selecting range of nodes fungel General 1 11-07-2010 20:54
add node besides other nodes joyJOYJOY CorelDRAW/Corel DESIGNER VBA 0 16-09-2007 10:53
Use shapes in a range Manuel CorelDRAW/Corel DESIGNER VBA 1 09-05-2007 14:55
range problem chinkyk CorelDRAW/Corel DESIGNER VBA 0 20-10-2004 11:00
Import - Value out of Range ddonnahoe CorelDRAW/Corel DESIGNER VBA 0 13-04-2004 14:10

All times are GMT -5. The time now is 23:26.

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