Linework tool

Linework tool

Anonymous
Not applicable
1,489 Views
5 Replies
Message 1 of 6

Linework tool

Anonymous
Not applicable

Everyone knows that when viewing reflected ceiling plans in Revit that the Ceiling Edge lines are "masked" by the Wall edge lines due to the cut plane being below the ceiling.

 

Normally I take the time to hit every ceiling edge line with the linework tool to get the full thickness of the ceiling line to show. It would be great if some sort of "Draw Order" tool existed to make this a non-issue, but there isn't (to my knowledge).

 

The next best thing would be to automatically hit these ceiling edge lines with a line type using Dynamo. 

 

The question is the Linework tool accessible through the API and can what I am proposing be done? 

0 Likes
1,490 Views
5 Replies
Replies (5)
Message 2 of 6

jeremytammik
Autodesk
Autodesk

Dear Jason,

 

Thank you for your query.

 

Awfully sorry to disappoint you, but I for one do not know those steps that you explain in your first sentence.

 

On the other hand, I am not a Revit user, just an API nerd.

 

I don't know what the Linework tool is either, sorry to say.

 

I don't know much about Dynamo either.

 

However, if I boil your query down further to a single yes-or-no question, I might be able to help:

 

[Q] Can the linetype of a single line be set programmatically via the Revit API?

 

[A] Yes.

 

The next step would be to determine how you can retrieve the Ceiling Edge lines that you mention programmatically to set their line types as required.

 

That can be answered by analysing the model, these specific lines, their properties and relationships in depth.

 

That can be achieved using RevitLookup:

 

https://github.com/jeremytammik/RevitLookup

 

I hope this helps.

 

Best regards,

 

Jeremy

 



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

0 Likes
Message 3 of 6

Anonymous
Not applicable

Thanks Jeremy for your honesty. I will post again in the Dynamo forums to see if there is someone with direct knowledge of Dynamo can help answer the question.

0 Likes
Message 4 of 6

jeremytammik
Autodesk
Autodesk

Dear Jason,

 

Thank you for your update and appreciation.

 

Seeing as it can be done via the Revit API, I am confident this can be addressed in Dynamo too.

 

Good luck and best regards,

 

Jeremy

 



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

0 Likes
Message 5 of 6

jmqrsq
Enthusiast
Enthusiast

Hello Jeremy. So I finally got around to trying your Snoop tool. 

 

As you can see in the images attached, there appears to be no difference in the Snoop results before I use linework to override the floor edge (left side of image) and after I use the linework tool to override the edge (right side of the image).

 

Does this tell you anything? I ask because it doesn't tell me lol 😃

 

It's frustrating because it seems that doing this would be super easy using the API with Dynamo. A simple selection of elements and an application of line weight override for the edges. Maybe it is my naiveness...

 

Just an FYI for closure (and for the off chance this helps you magically figure out an answer to my problem of course 😉

 

Jaysyn

 

 
 

Capture.PNG

0 Likes
Message 6 of 6

lionel.kai
Advisor
Advisor

I posted an Idea for this requested functionality here:

 

API access to Linework tool (get and set edge/line overrides) - Autodesk Community


Lionel J. Camara
BIM Manager at KAI Hawaii, Inc. - Structural and Forensic Engineers
Autodesk Certified Professional
0 Likes