Tim Schultz Posted November 27, 2002 Share Posted November 27, 2002 1) ODBC 2) Folders in layers. I would like to be able to group different layers similar to the hierarchical way McIntosh stores files inside folders. 3) A keyboard command to rotate 45?. This would be like the rotate 90? command but would not require that I access a dialog box and enter a value. Thank you. Quote Link to comment
0 Alexandre Villares Posted December 1, 2002 Share Posted December 1, 2002 1) ODBC Me too! 2) Folders in layers. I would like to be able to group different layers similar to the hierarchical way McIntosh stores files inside folders. Something like the "-" sub-menu classes would be nice... 3) A keyboard command to rotate 45?. This would be like the rotate 90? command but would not require that I access a dialog box and enter a value. This is feasible with VectorScript, you can then edit your workspace and add a keyboard shortcut. Quote Link to comment
0 Alexandre Villares Posted December 1, 2002 Share Posted December 1, 2002 {Create a new VectorScript Plug-in Command with this...} Procedure RotateSel45; VAR centerX, centerY:REAL; p1X, p1Y, p2X, p2Y, p3X, p3Y, p4X, p4Y:REAL; FirstBBox:BOOLEAN; {--------------} Function AddBBox(Hnd:Handle):BOOLEAN; BEGIN IF FirstBBox THEN BEGIN GetBBox (Hnd, p3X, p3Y, p4X, p4Y); FirstBBox:=FALSE; END ELSE BEGIN GetBBox (Hnd, p1X, p1Y, p2X, p2Y); UnionRect(p1X, p1Y, p2X, p2Y, p3X, p3Y, p4X, p4Y, p3X, p3Y, p4X, p4Y); END; END; {--------------} Procedure FindCenter; BEGIN Rect(p3X, p3Y, p4X, p4Y); HCenter(LNewObj, centerX, centerY); DelObject(LNewObj); END; {--------------} Function RotateHnd45(Hnd:HANDLE):BOOLEAN; BEGIN HRotate(Hnd, centerX, centerY, 45); END; {--------------} BEGIN FirstBBox:=TRUE; {init. BBox variable} ForEachObjectInLayer (AddBBox, 6, 0, 4 ); {selected+unlocked, shallow , editable layers} FindCenter; {gets centerX and centerY} ForEachObjectInLayer (RotateHnd45, 6, 0, 4 ); {Rotates 45d around centerX, centerY} END; Run(RotateSel45); {Hope this helps...} [ 12-01-2002, 09:41 AM: Message edited by: Alexandre B A Villares ] Quote Link to comment
Question
Tim Schultz
1) ODBC
2) Folders in layers.
I would like to be able to group different layers similar to the hierarchical way McIntosh stores files inside folders.
3) A keyboard command to rotate 45?.
This would be like the rotate 90? command but would not require that I access a dialog box and enter a value.
Thank you.
Link to comment
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.