Dimension Linked Elements

Hi All

Can any one tell me if this even possible?

I have spend 3 days in row but cant get dimension to Linked elements its that me or its not possible?

Please see below

I do get error if i use linked file element “Object Reference not set to an instance of the object” But If i use file from main model it do work.

Thanks any one in advance.

Regards

Fairly certain it is doable.

We can tell your error is at line 50 or one of the lines proceeding it, so best to start from there. My gut says that it’s related to the Reference, which may not actually work for a linked element the way you’re hoping.

1 Like

Hi @dkeinys I assume that node is from genius loci

try convert your linked reference with genius conver.linkedrefrence node

3 Likes

Thanks for your time

Line 50 is

dims.append(doc.Create.NewDimension(view, line.ToRevitType(), refer).ToDSType(True))

and i all required is provided but still error.

Regards

Hi @sovitek

Yes i do use Genius loci nodes

I used node as susgested but still geting error please see below

Regards

not sure then seems you need feed in a dimensiontype

2 Likes

Hi @sovitek

I think i got it working by getting correct plane from family and your suggestion above.

Thanks for your time!!!

Regards

1 Like