Room separator

Room separator

johnds
Contributor Contributor
1,037 Views
3 Replies
Message 1 of 4

Room separator

johnds
Contributor
Contributor

Hi,

 

I want to create a room separator line using the API (Revit 2012), but this seems so far not possible, or am i wrong?

 

The does not seem to be a method anywhere to create one, which is essentially a ModelLine with a category type of OST_AreaSeparationLines. However, you cannot seem to change/assign that category to a 'standard' ModelLine after creation. Unless I've missed it.

 

Thanks

newbie

 

0 Likes
1,038 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

don't you use  Document.Create.NewRoomBoundalines() to create it?

0 Likes
Message 3 of 4

johnds
Contributor
Contributor

Hmmm, that method name does not really give me confidence, but i will give it a try, thanks for the suggestion.

 

Will post results when done.

0 Likes
Message 4 of 4

johnds
Contributor
Contributor

Ok, that seemed to work! No problems so far.

 

If only the method name was NewRoomSeparator(...) instead! 😉

0 Likes