dkeinys
December 14, 2023, 9:50pm
1
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
sovitek
December 15, 2023, 7:09am
3
Hi @dkeinys I assume that node is from genius loci
try convert your linked reference with genius conver.linkedrefrence node
3 Likes
dkeinys
December 15, 2023, 8:29am
4
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
dkeinys
December 15, 2023, 8:31am
5
Hi @sovitek
Yes i do use Genius loci nodes
I used node as susgested but still geting error please see below
Regards
sovitek
December 15, 2023, 8:33am
6
not sure then seems you need feed in a dimensiontype
2 Likes
dkeinys
December 15, 2023, 8:39am
7
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