Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to create Element Keynote for a wall and Material Keynote?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
vero4ka`
1654 Views, 2 Replies

How to create Element Keynote for a wall and Material Keynote?

Hello to everyone!

I'm trying to create Element Keynote for a wall and Material Keynote for it's materials (to make it like this http://forums.autodesk.com/t5/media/gallerypage/user-id/1240000/image-id/52414iD032159FA2052B0E) bit I'm completely stuck on it.

 

revit_screenshot_021.PNG


I tried to create a tag how it was shown in this blog post: http://thebuildingcoder.typepad.com/blog/2010/06/set-tag-type.html But I can't change a keynote tag to OST_KeynoteTags and to associate it with

FamilySymbol keynoteTagType = GetFirstFamilySymbol(doc, BuiltInCategory.OST_KeynoteTags);
IndependentTag newTag = doc.Create.NewTag(view, wall, true, tagMode, tagorn, wallMid);

but Revit doesn't allow me to do this:

newTag.ChangeTypeId(keynoteTagType.Id);

or maybe I'm on the wrong path...

Tags (1)
2 REPLIES 2
Message 2 of 3
Joe.Ye
in reply to: vero4ka`

Even via Revit UI, we cannot change a normal tag to keynote's type.

Revit didn't expose the API to create keynote. I reported to the engineering team of this API request.


Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
Message 3 of 3
vero4ka`
in reply to: Joe.Ye

Thank you for your answer!
I'll try to find another way to reach the same functionality

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community