tt-acm / DynamoForRebar

A Dynamo package for authoring geometrically complex rebar models in Revit 2016.
Other
39 stars 18 forks source link

"View as Solid" / "View unobscured" toggles #42

Closed dietervermeulen closed 8 years ago

dietervermeulen commented 8 years ago

Suggestion as improvement: it would be great having an option to toggle the "View Visibility State" of the generated rebars. This because of if you set it once for your bars, and change the number of bars with your Dynamo script, then the "View Vis State" change back to "unchecked". See screenshot below.

image

vasshaug commented 8 years ago

This would be pretty nifty to control as a Project or Revit setting Dieter. Has been a request on Pawel's desk for 5 year:) But yeah it would be nice to control with Dynamo.

dietervermeulen commented 8 years ago

Well it works on API level. Sofistik managed to toggle it. Not sure we should control it in Revit or project. On element basis, would be effective already.

vasshaug commented 8 years ago

It would work very well on element basis if some person could make View as solid on byDefault. I have never understood why anyone would ever want to see pixel rebars in Fine Detail Level.

moethu commented 8 years ago

Good point, maybe we should have an entire visibility control library for Elements in Dynamo?

moethu commented 8 years ago

@dietervermeulen , Visibility Nodes added: 2015-11-03_08h47_01

MDCnerd97 commented 8 years ago

@moethu are the nodes in your previous comment availiable somewhere? are they with a particular package? would really love to be able to change the view settings of my rebars.

moethu commented 8 years ago

@MDCnerd97 yes they are part of this Package, just search for rebar in the dynamo pkg manager.

MDCnerd97 commented 8 years ago

Dear sir,

Thank you for your response! If I might trouble you for one last question. I have my graph setup using the node previously discussed (see attachment), but I’m getting an error with the 3d view selection. How should I go about telling it to change the view style for all 3d views? Any and all help is appreciated. Thank you for your time and I look forward to your reply.

Sincerely,

Mike Tuter Engineering Design Technician Design & Development Division Missouri Department of Conservation (573) 522-4115 ext. 3743 (573) 522-2020 (fax) mike.tuter@mdc.mo.govmailto:mike.tuter@mdc.mo.gov

From: moethu [mailto:notifications@github.com] Sent: Thursday, January 21, 2016 1:41 PM To: tt-acm/DynamoForRebar Cc: Mike Tuter Subject: Re: [DynamoForRebar] "View as Solid" / "View unobscured" toggles (#42)

@MDCnerd97https://github.com/MDCnerd97 yes they are part of this Package, just search for rebar in the dynamo pkg manager.

— Reply to this email directly or view it on GitHubhttps://github.com/tt-acm/DynamoForRebar/issues/42#issuecomment-173685964.

moethu commented 8 years ago

@MDCnerd97 could you attach the image on github please, I cannot see email attachments here.

MDCnerd97 commented 8 years ago

@moethu absolutely. Sorry for the confusion, here is my previous email response with the image attached. Thank you again for your help.

Dear sir,

Thank you for your response! If I might trouble you for one last question. I have my graph setup using the node previously discussed (see attachment), but I’m getting an error with the 3d view selection. How should I go about telling it to change the view style for all 3d views? Any and all help is appreciated. Thank you for your time and I look forward to your reply.

MDCnerd97 commented 8 years ago

dynamo graph

MDCnerd97 commented 8 years ago

@moethu sorry, didn't get the image attached the first time.

moethu commented 8 years ago

@MDCnerd97 , the Rebar SetSolidInView Node requires a Rebar as an input, not a Rebar Bar Type. Either create a Bar or Container in Dynamo or use Select Model Element to select an existing Rebar

MDCnerd97 commented 8 years ago

@moethu , Thank you again for your assistance. I hate to ask again, but it says i have a problem with the 3d view i have chosen. the node says it does not recognize an "axonometricView". is there another node i should be using to select the correct view. I have attached my revised graph. Thank you again for your help, I do appreciate it. dynamo graph-2

moethu commented 8 years ago

@MDCnerd97 you did everything correctly. I guess the Revit API doesn't allow setting a 3D View here. I checked the code and I'm not manipulating the incoming view - so the error is thrown by the Revit API. If I'm setting it manually in Revit it also works for 3D Views. I'll look more into this. Thanks.