Accessing parameter AsValueString not AsInteger

@Japhy
I am trying to access a parameter although the return Value is AsInteger, i need the AsValueString.

You’ll need to access that via scripting. What version of Rhino/Revit are you using?

I am using Rhino 7 / RIR : 1.21.8913.17015

you mean with element.WorksetId

Getting the .AsValueString is not recommended for certain workflows, what are you trying to do?

https://thebuildingcoder.typepad.com/blog/2019/04/batch-processing-and-aspects-of-asstringvalue.html#3

image
worked. thanks

1 Like

Hi @pixypk,

RiR has ‘Element Workset’ and ‘Workset Identity’ for this case.

Does it work for you?

yes this works too, thanks i did not know this workset Node.
image