Setting entities - extensible storage - Revit 2023

So I managed to create some fields… But now I’m trying to set entities and failing miserably.

I’ve created 2 fields before I built the schema. One is XYZ (which I think is an array or list? One is a string.

I’m trying to set the entity in the field but can’t find a single way that works. Every time I get the error, “No method matches given arguments”.
I’ve tried it multiple ways (a selection below - look at lines 50 onwards )

How do you set entities?

I would think that would be an XYZ element - Revit’s method for Points and vectors. :slight_smile:

I recommend starting with an integer, then a double, then a string. Don’t eat the moose in one sitting - break it up over a few passes.

1 Like

I tried both in various ways (I did them one at a time and then commented them out when they didn’t work)… Nothing works :sob:

It’s an PythonNet2 issue with template Parameters, see this topic

1 Like

OMFG… THANK YOU x 100000… :champagne:

I wasted 4 bloody hours on that! And I’d have probably wasted another x hours if you’d not said that!


Progress :smiley:

I have done it in two parts, my syntax wasn’t working for the build in IronPython… So have split them. sighs

Again, thank you. Can’t express what a relief this is :slight_smile:

1 Like