Jump to content
Developer Wiki and Function Reference Links ×

Get area in square feet independent of document units

Recommended Posts

You don't have to create a new node from nothing.

I simply hijacked the any-node. 

class Params(metaclass = Marionette.OrderedClass):
	this = Marionette.Node( 'UnitsPerInch' )
	v = Marionette.PortOut()
	v.SetDescription('The resulting value')

def RunNode(self):
	fraction, display, format, upi, name, squareName = vs.GetUnits() 
	self.Params.v.value = upi



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

Reply to this topic...

×   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...