In response to this thread:
http://www.cambam.co.uk/forum/index.php?topic=4855.msg36700#msg36700It allows the user to select and move multiple points in a polyline when editing. Select one or more points with the mouse, select the starting point and the last the end point.
1. Install the dll into your CamBam 'plugins' folder, restart CamBam
2. Draw a polyline, or convert a circle etc. to polylines (it only works with polylines)
3. Select the object so it's highlighted (one object only)
4. In the context menu "Polyline" or the sub-menu "Polyline" in menu "Edit" a new item will appear, "Poly Move Point"
5. Click on "Poly Move Point" or press the shortcut (default F2, can be configured on menu Plugin > MovePoints Config) to run the plugin.
6. You now enter an edit mode "LeftClick to Select/Unselect a point, Ctrl + LeftClick to set the start point, Esc to end"
While in the edit mode you can zoom in or out.
Just click on the points for select or unselect, after press Ctrl + LeftClick for set the start point (reference point for the movement).
7. After setting the start point you move on to the next step of the edit mode "Start point set (X,Y) please select the end point, Esc to end"
8. Click on the view for set the end point of the movement.
9. Just click on the Esc key for done the editing.
10. Now you are back to CamBam
I used part of code of the plugin
Add Points ( Node Editing ) To Polylines. Thanks EddyCurrent.
Change log:
- Version 1.0
- Version 2.0
- Can define any start point (not only a node of the polyline)
- Improved the mechanism for select/unselect the points
- Resolved the problem the crash of CB if runs the plugin on any existing file instead of a new file
- Added the item "Poly Move Point" to the context menu and menu edit "Polyline"
- Version 2.1
- Changed the code for set the start point equal to the end point after move the points.
- Version 2.2
- Resolved problem with inches:
- The plugin checks the drawing unit used on the file
- Creates a polyrectangle with the width based on the MinorScale defined on the grid info for the select drawing unit
- Improved the mechanism for move the points
- Version 3.0
- Changed the polyrectangle to point list to resolve the problem with zoom-in/zoom-out
- Added a new item on Menu Plugin (MovePoints Config)
- Added a shortcut to start the plugin
- Version 3.1
- Removed the translation until get ok from users about the stability of the plugin
- Improved the engine of the selection/unselection and move points
- Version 3.2
- Added translation with key PointsMove:TRANSLATE_TEXT
Thank you for your feedback.
Best regards,
Vasco Cruz