lunedì, ottobre 14, 2013

View Depth Override 2014 - Codice Sorgente

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.



5 commenti:

  1. Anonimo7:33 PM

    noob question: how do i put this code on revit? :(

    RispondiElimina
  2. 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

    RispondiElimina
  3. Anonimo8:19 PM

    noob question 2: can i name this "greys" in mapping layer exported?

    RispondiElimina
  4. 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

    RispondiElimina
  5. 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

    Cheers
    -Paolo

    RispondiElimina