Announcements

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

Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API, bug in Sketch3D.Profiles.AddOpen?

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
309 Views, 2 Replies

API, bug in Sketch3D.Profiles.AddOpen?

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

2 REPLIES 2
Message 2 of 3
jeremytammik
in reply to: Anonymous

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

Message 3 of 3
Anonymous
in reply to: jeremytammik

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report