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

set_ElementsAtJoin() issue

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
170 Views, 0 Replies

set_ElementsAtJoin() issue

To create an Area element overlayed on a Room in an Area Plan view, I proceeded as follows:

1. Retrieve the room's boundary information

2. Create a new AreaBoundaryLine for each BoundarySegment of the room boundary

3. I got stuck here: Join two adjancent area boundary lines together so that all of the boundary lines will form an enclosed region (the next step is to place an Area element inside this region by calling the NewAreas(List of AreaCreationData) function).



When I called set_ElementsAtJoin on the LocationCurve of a ModelCurve (object returned from a NewAreaBoundaryLine call), an exception "{color:#ff0000}Operation is not valid due to the current state of the object{color}." was raised at runtime.



Please help me to solve this issue! Any suggestions will be greatly appreciated!



--- Sebastian
0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report


Autodesk Design & Make Report