Jump to content
Alessio

Showing Object dimension in Object info menu

Recommended Posts

Hi,

 

I am wondering if it is possible to show the output value of a math node in the object info shape menu like on the image below.

If it is, can someone tell me how to do it?

 

 

tempsnip.png

Share this post


Link to post

Hi @Alessio,

that is possible. Simply use the Marionette.WidgetType.TextStaticParam in the OIP part (see also the developer wiki)

and change the value shown by using self.Params.Something.SetValue

 

For example:

FileName = Marionette.OIPControl( 'File name', Marionette.WidgetType.TextStaticParam, '<None>' )
self.Params.FileName.SetValue( str(os.path.basename(vs.GetFPathName())) )

 

Regards,

Antonio

Share this post


Link to post

Hi @Antonio Landsberger ,

 

Thank you for your supply.

I am not realy sure how to do this. I am quite new at marionette.

 

I want to create it with a input like the image.

 

i hope you can help me out.

 

Regards,

Alessio

tempsnip.png

Share this post


Link to post

If you only want to see the values that are coming out of a node, use the "Print Debug" node.

Consider disabling both the time and type in the OIP of this node.

 

If you are new to Marionette, please check out the online webinar series "Marionette Monday" by Sarah:

@sbarrett Could you please ask the web team to make a YouTube playlist out of the Marionette Monday webinars?

Share this post


Link to post

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


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...