Hi
I’m trying to create insert text script. but I’m getting struck…
Can you help me.
!
What is your active view if it is 3d view then it must be locked
Hi jaafar,
Thank you for help. I have Activated Floor plan but still not working…
i have attached my dyn file.
Requested to help me on this please.Insert text.dyn (11.8 KB)
This Could help you in plan views but it does not work on 3d views
I hope this will help you, but if it was important to get a text note on a 3d view just tell I will search for it
Regards
Hi Jafer,
I have using architectural template as project.
I’m just trying this script in blank file.
Thanks you,
Make sure that the text note type “9mm Arial” is available in your Revit project with the exact spelling or just use any available type you want.
Regards
Hi Jaafer
I’m sending my file revit file.
Thank you for quick help.
insert text.rvt (1.4 MB)
Hi jaafar,
I have use available text type name with correct spelling…but still getting error.
Thanks
the file you have sent does not contain text note type 9mm Arial
so I used the available type 3/32 Arial
if that was not your problem then make sure that when you run Dynamo you don’t have any parent commands on Revit like for example if you start placing text note command in Revit by mistake and you did not exit from the command, Dynamo would not start, until you clear that text note command
and I hope this could help you if it did not please tell me
Regards
Hi jaafer,
Thank you for quick response,
I had try what you said but It’s still giving same error,
Also after run the script in file showing this blue thing which i can’t select.
I’m trying to zoom it but no luck.
Thank you
Do not worry we will figure it out
throw a watch node on the code block as shown in image
and send a screen shoot
Regards
- Make sure you are only opening one Revit project.
- In Revit create a text note in any view and type anything in the text
go to edit type and rename the current text note type to 3/32 Arial
please pay attention to each letter you write it must be the same match with dynamo
and that should solve the problem
just to inform you the .rvt file you sent contains only one text note type named 3/32" Arial
so because of the quotation mark in the type name dynamo code block would not accept that so I removed the quotation in both Revit and Dynamo (if you want to have dynamo graph works type name having quotation mark you should use string node)
if this does not help to fix the problem please tell me
Regards
Hi jaafer,
Thank a lot, now it’s working.
one more thing as we know code block node not give us to in-put option so every time we have edit and add new text there which we required.
are their any other node available so we can give in-out option in it
Thanks
Hi @ratnamala.gawas
Congratulations
you can add a number node or string node and they can be defined as an input
Regards
Hi jaafar
Thanks a lot for your kind support
Regards
2 posts were merged into an existing topic: Duplicate view
Hi Jaafar I am having a doubt. Is it possible to change the size of the TextNote according to the units in the document?