Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have created the parameter "Instance_Name" for all of the elements in my project and its has value in some of the elements and its empty in the rest. I want to check the value of the parameter but I dont know how to access it. Using revitlookup I found out that it exists in parameters. I have tried different methods like:
IList<Parameter> p = EF.GetParameters("Instance_Name");
string pp = p[0].ToString();
Parameter ppp = EF.LookupParameter(pp);
string pppp = ppp.AsString();
TaskDialog.Show("instance name", pppp);
or
Parameter p = EF.LookupParameter("Instance_Name");
string pp = p.AsString();
TaskDialog.Show("instance name", pp);
Can you help me?
Solved! Go to Solution.