DynamoRevit
DynamoRevit copied to clipboard
Unable to convert RuledFace to ProtoType geometry
Have a problem with "RuledFace" geometry.
ErrorWrite : "Значение не может быть неопределенным.: Имя параметра: revitCurve"
Dynamo version - 2.0.4
Windows 10
This element is showing like this :
Hello dronov-dmitry, thank you for submitting this issue! We are super excited that you want to help us make Dynamo all that it can be. However, given that there has been no additional information added, this issue will be closed for now. Please reopen and provide additional information if you wish the Dynamo team to investigate further.
Additional information:
- Filling in of the provided Template (What did you do, What did you expect to see, What did you see instead, What packages or external references (if any) were used)
- Attaching the Stack Trace (Error message that shows up when Dynamo crashes - You can copy and paste this into the Github Issue)
- Upload a .DYN file that showcases the issue in action and any additional needed files, such as Revit (Note: If you cannot share a project, you can recreate this in a quick mock-up file)
- Upload a Screenshot of the error messages you see (Hover over the offending node and showcase said errors message in the screenshot)
- Reproducible steps on how to create the error in question.
@RobertGlobant20 Seems our bot will mistakenly close user created issue like this?
I think this is a DynamoRevit GeometryConversion issue and should be transferred to DynamoRevit repo - @ZiyunShang fyi.
@dronov-dmitry please provide steps to reproduce (rvt, code, .dyn file etc)
https://disk.yandex.ua/d/tEQQ30ULIDoWYQ
https://disk.yandex.ua/d/C92Lu_8fwMq57w
would guess it makes sense to start looking: https://github.com/DynamoDS/DynamoRevit/blob/master/src/Libraries/RevitNodes/GeometryConversion/SurfaceExtractor.cs#L239
As Michael guessed, an error occurred there. For your RuledFace, face.get_Curve(0) returned null, and face.get_Curve(1) returned a Arc line. For the current code, it can't create a Dynamo Surface here.
Hi @mjkkirschner , for this Geometry, its profile in Revit is composed of three surfaces, as shown.
As you can see, the surface consists of a triangle and two symmetrical plane geometry with a quarter circle.
For the plane geometry with a quarter circle, it only gets one edge through Revit api - get_curve :
Is this can be converted to Dynamo Geometry?