MarcelP102 Posted September 26, 2022 Share Posted September 26, 2022 (edited) When we use a script to move screenplane objects to layerplane all the 2D symbols turn into a 3D symbol. Because the objects are moved to the 3D part of the symbol.. Is there a script somewhere that changes screenplane to layerplane but keeps the symbol as a 2D symbol? I've used this script: PROCEDURE Objs2LayerPlane; { © Petri Sakkinen 2010 } {Modifed 2014, Ray Mullin, Pat Stanford to work with VW2015} Procedure DoIt (H : Handle); Begin SetObjectVariableBoolean(H, 1160, FALSE); End; Function ResetDef(H :Handle) :Boolean; Begin ResetObject(H); End; BEGIN FOREACHOBJECT(DoIt, INSYMBOL & ALL); ForEachObjectinList(ResetDef, 0, 0, FSymDef); Sysbeep; END; RUN(Objs2LayerPlane); Edited September 26, 2022 by MarcelP102 Quote Link to comment
Jesse Cogswell Posted September 26, 2022 Share Posted September 26, 2022 Even though Vectorworks deprecated the Screen Plane, it still uses it to determine which component of the symbol an object belongs to (either 2D or 3D). This screwed up a major part of my workflow when converting 3D symbols to hybrid symbols, as I would have to enable the legacy feature just to move the 2D objects over to the 2D component, then disable the legacy feature. The good thing for you is that this is a simple fix: just remove INSYMBOL from your criteria. Even better, you will also no longer need the ForEachObjectInList call since you won't need to reset the symbol definitions. Even though the Screen Plane is deprecated in the general sense, it is still absolutely necessary for Vectorworks to sort objects within a symbol. And, knowing how this works behind the scenes, I very much doubt that this change. I haven't yet had the opportunity to play with VW2023 (though I'm hoping I'll get time this afternoon), so I don't know if they fixed this. In my email conversations with them, they talked about adding the Screen Plane back in only when working within 3D symbols and calling it something like "2D Component" so that you can force objects to the 2D component without enabling the legacy feature, but I don't know if the change was implemented. I've attached the video that I sent to VW right after the 2022 release that demonstrates this. JNC Screen Plane Demo.mp4 1 Quote Link to comment
MarcelP102 Posted September 26, 2022 Author Share Posted September 26, 2022 (edited) A check! I was afraid that when I convert a 2D symbol to group the screenplane objects of the 2D symbol would remain in screenplane. But in fact it changes to layerplane. I modified the script to not change the content of symbols. Thanks! Edited September 26, 2022 by MarcelP102 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.