![]() |
#1
|
|||
|
|||
![]()
Does anyone know more about this command?
It sounds very useful. The help file says very little about it. What do they refer to when they say "node information"? Thanks, Mitsu1 |
#2
|
||||
|
||||
![]()
PutCurveInfo replaces one curve with other node information. Create a curve and select it. Then run this code, you will see it is replaced with the CurveElement array.
Code:
Sub Test() Dim ce(5) As CurveElement ce(0).ElementType = cdrElementStart ce(0).PositionX = 0 ce(0).PositionY = 0 ce(1).ElementType = cdrElementLine ce(1).NodeType = cdrSmoothNode ce(1).PositionX = 1 ce(1).PositionY = 1 ce(2).ElementType = cdrElementControl ce(2).PositionX = 2 ce(2).PositionY = 2 ce(3).ElementType = cdrElementControl ce(3).PositionX = 3 ce(3).PositionY = 2 ce(4).ElementType = cdrElementCurve ce(4).NodeType = cdrSmoothNode ce(4).PositionX = 4 ce(4).PositionY = 1 ce(5).ElementType = cdrElementLine ce(5).PositionX = 5 ce(5).PositionY = 0 ActiveShape.Curve.PutCurveInfo ce End Sub |
#3
|
|||
|
|||
![]()
Thanks shelbym,
This looks very interesting... I know that it can be done for subpaths but can this be done to segments? Is it possible to insert specific "lists" of "node information" into a single segment along a curve (with or without subpaths) ? Is it possible to have the "node information's" X Y coordinates relative to the segments angle and position rather than absolute coordinates? If so then this command could really come in handy. I'm surprised that Corel has so little documentation on this command. Thanks in advance, Mitsu1 Last edited by mitsu1; 18-04-2011 at 12:09. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extract subpath crash and question. | runflacruiser | CorelDRAW/Corel DESIGNER VBA | 2 | 15-02-2011 06:45 |
Looking for info on method... | ddonnahoe | CorelDRAW/Corel DESIGNER VBA | 7 | 30-08-2009 18:14 |
About SubPath.AddNodeAt | SUNNY | CorelDRAW/Corel DESIGNER VBA | 1 | 21-08-2008 00:52 |
subpath numbering | lkoky | CorelDRAW/Corel DESIGNER VBA | 2 | 02-11-2004 02:37 |
Select all nodes if the subpath | d-signer | CorelDRAW/Corel DESIGNER VBA | 2 | 12-05-2004 23:47 |