mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-10-03 07:31:33 +00:00
updated to Revit 2023 SDK
This commit is contained in:
@@ -123,7 +123,7 @@ namespace Revit.SDK.Samples.NewHostedSweep.CS
|
||||
public void Update()
|
||||
{
|
||||
if (SymbolChanged != null && m_backUpSymbol != null &&
|
||||
m_backUpSymbol.Id.IntegerValue != m_symbol.Id.IntegerValue)
|
||||
m_backUpSymbol.Id != m_symbol.Id)
|
||||
SymbolChanged(m_symbol);
|
||||
|
||||
if (EdgeRemoved != null)
|
||||
|
||||
@@ -187,7 +187,7 @@ namespace Revit.SDK.Samples.NewHostedSweep.CS
|
||||
{
|
||||
get
|
||||
{
|
||||
String result = "[Id:" + m_elemToModify.Id.IntegerValue + "] ";
|
||||
String result = "[Id:" + m_elemToModify.Id.ToString() + "] ";
|
||||
return result + m_elemToModify.Name;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user