DynamoRevit icon indicating copy to clipboard operation
DynamoRevit copied to clipboard

Unable to convert RuledFace to ProtoType geometry

Open dronov-dmitry opened this issue 3 years ago • 8 comments

Have a problem with "RuledFace" geometry. ErrorWrite : "Значение не может быть неопределенным.: Имя параметра: revitCurve" Dynamo version - 2.0.4 Windows 10 This element is showing like this : изображение

dronov-dmitry avatar Jul 20 '21 07:07 dronov-dmitry

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.

github-actions[bot] avatar Jul 20 '21 07:07 github-actions[bot]

@RobertGlobant20 Seems our bot will mistakenly close user created issue like this?

QilongTang avatar Jul 20 '21 11:07 QilongTang

I think this is a DynamoRevit GeometryConversion issue and should be transferred to DynamoRevit repo - @ZiyunShang fyi.

mjkkirschner avatar Jul 20 '21 17:07 mjkkirschner

@dronov-dmitry please provide steps to reproduce (rvt, code, .dyn file etc)

mjkkirschner avatar Jul 20 '21 17:07 mjkkirschner

https://disk.yandex.ua/d/tEQQ30ULIDoWYQ https://disk.yandex.ua/d/C92Lu_8fwMq57w изображение

dronov-dmitry avatar Jul 22 '21 08:07 dronov-dmitry

would guess it makes sense to start looking: https://github.com/DynamoDS/DynamoRevit/blob/master/src/Libraries/RevitNodes/GeometryConversion/SurfaceExtractor.cs#L239

mjkkirschner avatar Jul 26 '21 19:07 mjkkirschner

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.

ZiyunShang avatar Jul 27 '21 10:07 ZiyunShang

Hi @mjkkirschner , for this Geometry, its profile in Revit is composed of three surfaces, as shown. SideFace 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 : OneCurvePlane Is this can be converted to Dynamo Geometry?

ZiyunShang avatar Jul 30 '21 07:07 ZiyunShang