public static ElementId FromElementId(Part doc, Tag id) { if (id == Tag.Null) { return(null); } if (Category.FromElementId(doc, id) is Category c) { return(c); } if (ParameterKey.FromElementId(doc, id) is ParameterKey p) { return(p); } if (Element.FromElementId(doc, id) is Element e) { return(e); } return(null); }
public Proxy(ParameterKey o) : base(o) { (this as IGH_GooProxy).UserString = FormatInstance(); }