You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a DesignScript definition which converts a string (coming from Excel) to a Family Type.
What did you expect to see?
Return the specified Family Type from the input formatted/processed text
What did you see instead?
When I used the FamilyType.ByFamilyAndName method in DesignScript Dynamo throws an exception and deletes the Family from the project!
See the example image - it shows the same method working using the node. When I process the same data from Excel (although its in the format of "Family A"), I use the String methods to extract the Family Type (i.e. "A") and the same method shown in the image to return the Family - I also TrimWhiteSpace to rule out any rogue spaces. Then the error described above occurs.
Heres the diagnostics
Object reference not set to an instance of an object.
at Dynamo.UI.Controls.PreviewControl.<>c__DisplayClassc.b__b(AsyncTask m)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
The text was updated successfully, but these errors were encountered:
Dynamo Verison
1.0.0 Revit 2016
Operating system
Win 10
What did you do?
I created a DesignScript definition which converts a string (coming from Excel) to a Family Type.
What did you expect to see?
Return the specified Family Type from the input formatted/processed text
What did you see instead?
When I used the FamilyType.ByFamilyAndName method in DesignScript Dynamo throws an exception and deletes the Family from the project!
See the example image - it shows the same method working using the node. When I process the same data from Excel (although its in the format of "Family A"), I use the String methods to extract the Family Type (i.e. "A") and the same method shown in the image to return the Family - I also TrimWhiteSpace to rule out any rogue spaces. Then the error described above occurs.
Heres the diagnostics
Object reference not set to an instance of an object.
at Dynamo.UI.Controls.PreviewControl.<>c__DisplayClassc.b__b(AsyncTask m)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
The text was updated successfully, but these errors were encountered: