Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

API, bug in Sketch3D.Profiles.AddOpen?

Anonymous

API, bug in Sketch3D.Profiles.AddOpen?

Anonymous
Not applicable

I have an issue with the Sketch3d.Profiles.AddOpen() and the LoftDefinition.Rails.Add() api.

 

In the example below, I have generated thee sketches: 1,2 and 6. 1 and 2 contains the start and end profiles, while sketch6 contains four splines. However, when I call Profiles.AddOpen(), only one profile is created for sketch6, and when the Loft is built, only one rail is included... Any ideas as to why? I've only got eight sketchpoints, that is, sketch6 uses the same sketchpoints as 1 and 2... Can this be an issue?

 

 

 

LoftrailIssue.jpg

0 Likes
Reply
308 Views
2 Replies
Replies (2)

jeremytammik
Autodesk
Autodesk

Dear Ak,

 

That does not look like Revit to me...

 

Please note that this discussion forum is dedicated to programming Revit using the Revit API.

 

Did you post to the wrong place by mistake?

 

I hope this clarifies.

 

Thank you for your understanding.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes

Anonymous
Not applicable

Yup, my mistake..

 

Found out the hard way that if you start off with API in the subject line, the forum redirects it to Revit API... :-S

0 Likes