Void sweep detaching from solid when solid moves under constraints

Void sweep detaching from solid when solid moves under constraints

Anonymous
Not applicable
778 Views
2 Replies
Message 1 of 3

Void sweep detaching from solid when solid moves under constraints

Anonymous
Not applicable

I have noticed a recurring issue when creating certain families (furniture in this instance), where in that if I create a solid extrusion, constrained to reference planes, and give an edge/edges of that extrusion a void sweep to chamfer the edge, the void sweep sometimes 'unsticks' from the solid geometry when it is moved.

 

See attached file. The Main leg frame of this family is constrained to a 'Width' parameter, adjusting the distance between the legs - this works fine. The edges of the legs have void sweeps around them, to chamfer the edges for a more detailed look. 

 

When I flex the 'width' parameter, the leg frame adjusts as expected, but the void sweep attached to the edge of the leg frame stay static and removes itself from the leg frame.

 

Any ideas what I'm doing wrong please?

0 Likes
Accepted solutions (1)
779 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Jonny,

 

Thank you for your query.

 

Does this behaviour differ from what you observe performing the same operation manually through the user interface?

 

If not, please raise the issue in a non-API forum for the real product experts to resolve:

 

https://forums.autodesk.com/t5/revit-api-forum/this-forum-is-for-revit-api-programming-questions-not...

 

The people there are much better equipped to answer your question than us programming nerds.

 

If it does:

 

Did you add the chamfer programmatically?

 

Maybe when added through the UI, extra constraints are automatically added.

 

Alternatively, adding the chamfer may be deleting the original geometry (and the reference to it) and recreating new (unreferenced) geometry.

 

To pass this on to the development team for deeper analysis, a minimal reproducible case would be a great help:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#1b

 

Can you add a macro to the RFA that demonstrates the problem programmatically?

 

I.e., specify the detailed steps to successfully perform the manual operation, and a macro that does the exact same thing but fails.

 

Thank you!

 

Best regards,

 

Jeremy



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

Message 3 of 3

Anonymous
Not applicable

Hi Jeremy, 

 

Thank you for your reply. I do believe I should have posted this in the Revit Architecture Forum, rather than the API - I didn't actually know what the API forum was for, sorry. 

 

This problem was produced through the user interface FYI.

 

Thanks for guidance anyway.

 

Jonny

0 Likes