Enhanced Text Fields for Element Parameters

Is there a way to access VisualARQ parameters through an enhanced text field?

In this case, I am trying to pull the description of an object and have it display the description as a text object. It seems to work within the space styles using %<element.parameters[“Description”]>% but not through the typical rhino text box. Is there a way to get rhino to understand the VA parameters?

thanks

Hello @arcus,

You can use Grasshopper for this. Take a look to this example:

1 Like

Thanks, is there a way to reference it through a python script?

To be a little more clear, I’d like to be able select a detail and have it add a text that includes the name, scale & description. I’m able to add the guid within an enhanced text field portion of the script so that it kicks out a dynamically linked text that stays updated. I’d like to be able to do the same thing here so I can reference a detail on a sheet and in other parts of the project.

I am able to pull in the VisualARQ.Script reference clr, but can’t seem to figure out how to get rhino to pull the description parameter. I will say, I am a bull in a china shop when it comes to python, so it may be something simple I just am not seeing.

here is a sample of the script:

import rhinoscriptsyntax as rs
import clr
clr.AddReference(“VisualARQ.Script”)
import VisualARQ.Script as va

detail_id = rs.GetObject(“Select a detail”)
if detail_id != None:
print “The detail’s id is {0}”.format(detail_id)

rs.AddText(’%<ObjectName("{0}")>%’.format(detail_id)
rs.AddText(‘SCALE: %<DetailScale("{0}","#=1-0")>%’.format(detail_id)
Is there a similar way I can get it to pull the description parameter as a kind of enhanced text field?

thanks for your help.