PDA

View Full Version : Revit-Create a new parameter similar to keynote



ckc.mike
2007-12-21, 02:39 AM
Hi all,

I am wondering anyone know how to create a new parameter which similar to keynote which able to select valve from a .txt file?

dtownsend
2007-12-21, 01:37 PM
I wonder this myself, but I don't think it is possible to do at this time.

You could make parameter that can be assigned from a txt file, but you will have to use the API to create the code to do this.

For example, make an external command that reads a text file into a combo box or treeview (or other interface control), when a selection is made from the combo box (or other) it could assign a parameter that value.

So, it would not be the same function as the keynote or assembly code parameters, but it would have a similar end result.

Also, the Revit API has a separate forum (http://forums.augi.com/forumdisplay.php?f=218).

ckc.mike
2007-12-26, 12:44 AM
Thank Dustin for your reply, I expected I might need to write a API for creating a new parameter like this. But I am new to programing, so hoping someone would able to give me some tips or directions. I think I should post this question to revit API Forum. Once again thank for your reply.