Jump to content
  • 0

3d poly to 3d loci script?


Hans-Olav

Question

6 answers to this question

Recommended Posts

  • 0
  • Marionette Maven

In addition to Mark's suggestion - here's a Python script that will find all of the 3D polys on the active layer and replace their center point with a 3D locus.

 

My limited testing leads me to believe it works fine 😛 

 

lName = vs.GetLName(vs.ActLayer())
def createLoci(h):
	(p, zValue) = vs.Get3DCntr(h)
	vs.Locus3D(p, zValue)
	vs.DelObject(h)
vs.ForEachObject(createLoci, "((L='"+lName+"') & (T=POLY3D))")

 

  • Love 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...