Cookie_NZ Posted January 20, 2010 Share Posted January 20, 2010 Greetings all, I'm converting a lighting plan which has been drawn in AutoCAD into VW. The easiest way I've found to turn the imported AutoCAD fixture symbols into VW instruments is to use the "Convert To Instrument" command, then use the "Replace Instruments" command. Unfortunately the AutoCAD symbols were drawn at 90? to the VW instruments. So they all end up pointing 90? out from where they should. Is there a way of rotating a selection of instruments on their own axis? (i.e original rotation + 90?) Also am I going about is the most efficient way? Open to suggestions. Cheers, Cookie Quote Link to comment
michaelk Posted January 20, 2010 Share Posted January 20, 2010 Two ways: Right click the symbol in the Resource Browser. Choose 2D. Select All. Modify>Rotate>Rotate 90?......>Exit Symbol. If the symbol is also in 3D do the same for the 3D part. OR Select all of the instrument symbols in the drawing and enter 90 (or -90) in the rotation field of the OIP. hth michaelk Quote Link to comment
Cookie_NZ Posted January 20, 2010 Author Share Posted January 20, 2010 Ta for the reply Michael, The suggestion of editing the symbol does work. Unfortunately it means making all new label legends, as my current set don't line up properly with the symbols once they're rotated 90?. While that's not the end of the world, it's a bit tedious as it means I'll need to rotate all instrument symbols I use in the drawing by 90? to save having to use multiple sets of label legends for rotated/non-rotated instruments. The second option of selecting all instruments and changing their rotation to 90? in the OIP makes all selected instruments point to the left of the page. (As you would expect with a hard value of 90?) What I was hoping for was a way of adding 90? to the rotation of all instruments. Thereby using the original rotations from the AutoCAD drawing, but correcting the offset. Cheers, Cookie Quote Link to comment
michaelk Posted January 20, 2010 Share Posted January 20, 2010 Ahhh, that makes sense. I guess the quickest solution is to select all the instruments with the same rotation, ie all the units facing south on the page, click into the rotation field on the OIP and add "+90" behind the value that is there. I don't remember if 2008 has a custom select tool that will let you do that... Then you will have to be careful to not select any of the same units twice, thereby rotating them 180 degrees.... Perhaps this will work: -Select all the units facing "south" It's important the they have the same rotation in the OIP -Click into the rotation field, add +90 behind the value that is there -While they are still selected, move them into a temporary layer so they won't get selected again. -When you run out of lights to rotate, move all the units back from the temporary layer. hth Quote Link to comment
michaelk Posted January 20, 2010 Share Posted January 20, 2010 There is probably a simple vectorscript way to go through all the instruments and add +90? to each instrument. But you wouldn't want to use my attempt at it! Quote Link to comment
Pat Stanford Posted January 20, 2010 Share Posted January 20, 2010 OK Michael, I got the hint. The following should rotate every selected Lighting Device by 90 degrees. Try this: Procedure Test; Procedure DoIt(H2:Handle); Var X1,Y1: Real; Begin GetSymLoc(H2, X1, Y1); HRotate(H2, X1, Y1, 90); End; BEGIN ForEachObject(DoIt, (((PON='Lighting Device') & (SEL=TRUE)))); END; Run(Test); Quote Link to comment
michaelk Posted January 20, 2010 Share Posted January 20, 2010 :grin: Honestly - I wasn't trying to hint! Cookie, this is your lucky day! Thanks, Pat MK Quote Link to comment
michaelk Posted January 20, 2010 Share Posted January 20, 2010 Works like a charm, Pat! If you had wanted it to rotate the other way, would you have used HRotate(H2, X1, Y1, -90); or HRotate(H2, X1, Y1, 270); or are they the same thing? Thanks again! MK Quote Link to comment
Pat Stanford Posted January 20, 2010 Share Posted January 20, 2010 I would have probably used -90 as it works better in my mind, but either would be fine. If you really wanted to you could even used +630 or any other multiple, but that just makes more effort for the software. Quote Link to comment
Cookie_NZ Posted January 21, 2010 Author Share Posted January 21, 2010 Wow. That's absolutely spot on. Thank you very much Pat. And thanks also Michael. First round is on me next time you chaps are in Blighty. Cheers, Cookie Quote Link to comment
MrTemplate Posted January 26, 2010 Share Posted January 26, 2010 hi folks; once again, late to the party. might i also suggest sam jones' macros in AutoPlot Tools for Spotlight. he has had this macro in the collection for years. back to the road, shelley 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.