droman93 / Dynamo---Python

0 stars 0 forks source link

Multi-Reference Annotation #1

Open laurindominik opened 3 years ago

laurindominik commented 3 years ago

Hi @droman93 ,

it's great work what you published and indeed i have been looking and trying to code myself for a multi-reference(rebar) annotation for quite a while without big success. I think i have come quite far this time with the help of your code, but again i am stuck. I would really appreciated if you could help.

This is how far i have come: image How can i resolve this error message? Again great work!

Laurin :)

droman93 commented 3 years ago

Hi,

Glad to see that these repos are helpful to someone. Regarding this error I have encountered it myself, the function expect an specific object ICollection[] which can be done by :

clr.AddReference("System")

from System.Collections.Generic import List elId = UnwrapElement(IN[2]).Id

OR simply just put the id in a python list [ ].

One of these 2 methods should work, but again I can't test myself since I don't own a Revit product anymore.

Best regards, Daniel

On Tue, Dec 22, 2020 at 10:06 AM laurindominik notifications@github.com wrote:

Hi @droman93 https://github.com/droman93 ,

it's great work what you published and indeed i have been looking and trying to code myself for a multi-reference(rebar) annotation for quite a while without big success. I think i have come quite far this time with the help of your code, but again i am stuck. I would really appreciated if you could help.

This is how far i have come: [image: image] https://user-images.githubusercontent.com/67796250/102864667-d3f57880-4434-11eb-8756-f4637e2bb252.png How can i resolve this error message? Again great work!

Laurin :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/droman93/Dynamo---Python/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ4YWXM7BN2QTTV2M7WJO6TSWBHQHANCNFSM4VFJBQSA .

-- Best regards, Daniel Roman

laurindominik commented 3 years ago

It would be really usefull and we could safe a lot of detailing time if we get it work. But after fixing the last error a new one has occured :(

image

I know i ask a lot but maybe you could help me via teams/teamviewer if it's a little bug to fix? I would appreciate a lot!

Happy holidays

laurindominik commented 3 years ago

image