hong Posted May 30, 2003 Share Posted May 30, 2003 Is there any way to create a symbol that is proportional to layer scale? Quote Link to comment
matto Posted June 2, 2003 Share Posted June 2, 2003 not really but a Plug in Object (PIO) can be written based on a symbol or the VS code of Symbol and in that you get the scale of the layer the object is placed on and scale it accordingly. well that's the short version. Quote Link to comment
MullinRJ Posted June 2, 2003 Share Posted June 2, 2003 iboymatt is right, symbols cannot be scaled. But, they can be placed, then decomposed, and the resulting group can be scaled. Of course, decomposing a symbol will disconnect it from the original symbol definition, but if that is not an issue to you, try using this code fragment in a script or a PIO. It should get you going in the right direction. HTH, Raymond code: VAR SignalName :String; X, Y, Rot, ScaleFactor :Real; . . . Symbol(SignalName, X, Y, Rot); DoMenuTextByName('Convert to Group Chunk', 1); ScaleFactor := GetLScale(GetLayer(LNewObj)); Scale(ScaleFactor, ScaleFactor);[/code] Quote Link to comment
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.