mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-18 02:21:33 +00:00
updated to Revit 2023 SDK
This commit is contained in:
@@ -115,7 +115,7 @@ namespace Revit.SDK.Samples.RoutingPreferenceTools.CS
|
||||
if (selectedsplit.Length != 2)
|
||||
throw new ArgumentException();
|
||||
|
||||
ElementId id = new ElementId(int.Parse(selectedsplit[1]));
|
||||
ElementId id = ElementId.Parse(selectedsplit[1]);
|
||||
return m_application.ActiveUIDocument.Document.GetElement(id) as PipeType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user