Jump to content
  • 6

Add ability to Purge Screen Plane Objects in VW2022


E|FA

Question

2 answers to this question

Recommended Posts

  • 0

I wrote a simple python script that may help. 

 

"""
This script will change any screen plane object in the drawing to Layer Plane. 

Once run you can disable "enable legacy 2D features" on the "2D legacy mode" tab in document settings.  

Notes: 
	1. Some objects may move to the 3D plane and not the Layer Plane.
	2. You will also have to run this script on any referenced files first.

This Python Script may be freely distributed. No warranty provided.
Use at your own risk.

David Hamer, 2021 revision 09-23-2021

"""


def assign(h):
	vs.SetObjectVariableBoolean(h,1160,False)


vs.ForEachObject(assign,"(INVIEWPORT & (PLA='Screen Plane'))")

 

Script Screen Plane to Layer Plane.vwx

  • Like 1
Link to comment

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.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...