A questo link potete trovare il codice per la versione 2014, in questo caso si possono sostituire graficamente anche i motivi di superficie degli oggetti ma non è possibile agire sulle ombre.
Hi I didn't published the entire solution so you have to copy and paste the code into your own macro. First you have to create your macro module in C#, name it as you like, then create the macro (name it VidewDepthOverride), copy the using statements at the beginning of the source code and then copy the rest of the code over the space that begins with "public voidVidewDepthOverride()". Be sure that all the curly brackets are closed, then compile the code, now you should be able to use it. Please let me know. Cheers -Paolo
As far as I know you can't, in fact what this macro does it's pretty much the same thing you do when you override the elements in the view via right click. This is anything like silhouettes override. You can export in true colours though and then figure out a work around in CAD to merge grey lines into two layers according to your naming layer convention. It can be done via AutoLISP if you are using AutoCAD to speed up the process. I'll have to get back to you with some example. Cheers -Paolo
noob question: how do i put this code on revit? :(
RispondiEliminaHi I didn't published the entire solution so you have to copy and paste the code into your own macro. First you have to create your macro module in C#, name it as you like, then create the macro (name it VidewDepthOverride), copy the using statements at the beginning of the source code and then copy the rest of the code over the space that begins with "public voidVidewDepthOverride()".
RispondiEliminaBe sure that all the curly brackets are closed, then compile the code, now you should be able to use it.
Please let me know.
Cheers
-Paolo
noob question 2: can i name this "greys" in mapping layer exported?
RispondiEliminaAs far as I know you can't, in fact what this macro does it's pretty much the same thing you do when you override the elements in the view via right click.
RispondiEliminaThis is anything like silhouettes override. You can export in true colours though and then figure out a work around in CAD to merge grey lines into two layers according to your naming layer convention. It can be done via AutoLISP if you are using AutoCAD to speed up the process.
I'll have to get back to you with some example.
Cheers
-Paolo
Hi sorry for the late reply, here's what you asked, hope it helps http://puntorevit.blogspot.it/2013/12/view-depth-override-cad-side-of-moon.html
RispondiEliminaCheers
-Paolo