Results 1 to 3 of 3

Thread: Enable/disable conduit connector based on parameters

  1. #1

    Default Enable/disable conduit connector based on parameters

    Hello group,
    I'm trying to model a junction box that has an adjustable number of connectors on its sides - one parameter to control the number, and another to control the conduit size. They feed the rest of the dimensions of the box.
    I was planning to create a row of, say, 10 connectors on each side, and the user would set an instance parameter to a number between 2 and 10 to customize their box. The sizing works great, but I'm not seeing a way to hide the extra connectors (i.e., if the parameter that sets the number of connectors is two, I"m resizing the box to the correct size, but would like to hide the other eight connectors, so that you can't see them and can't draw conduit from them). Revit doesn't seem to support this. Are there any workarounds?

    Thanks in advance.
    Alex

  2. #2
    Active Member
    Join Date
    2010-04
    Location
    Perth, Australia
    Posts
    97

    Default Re: Enable/disable conduit connector based on parameters

    Revit does not support turning connectors "on and off". The only workaround would be to use an array. You set an array in your family with a parameter controlling the number of elements and place a connector on a face of each of the elements. Then when you decrease the array number the element dissappears and so does it's connector.

    A warning though that once you decrease the number in your family you cannot get the connector back again so your base family always has to stay with the maximum number of connectors. Use types within the project to change the number of connectors.

    Also, using arrays for this is notoriously unstable and could end up causing more problems than they are worth.

  3. #3

    Default Re: Enable/disable conduit connector based on parameters

    Quote Originally Posted by daniel.morrison View Post
    You set an array in your family with a parameter controlling the number of elements and place a connector on a face of each of the elements. Then when you decrease the array number the element dissappears and so does it's connector.
    This was the push I needed to complete the family. Thanks for the suggestion. The conduit even stays put when I increase/decrease the number of connectors on an instantiated box. We'll need to do more testing to see what problems it causes in bigger models.

Similar Threads

  1. 2d wireframe - is there a variable to enable/disable preset 3d views?
    By Mamma Jamma in forum AutoCAD 3D (2007 and above)
    Replies: 3
    Last Post: 2010-03-19, 06:46 PM
  2. Enable or disable macros when upgrading project to 2010?
    By BecFra in forum Revit Structure - General
    Replies: 0
    Last Post: 2009-06-11, 08:56 PM
  3. Macros - Enable or Disable
    By fwkimberley in forum AutoCAD Customization
    Replies: 12
    Last Post: 2008-09-22, 08:53 AM
  4. Disable enable write combining to improve stability?
    By Garn in forum Revit - Hardware & Operating Systems
    Replies: 1
    Last Post: 2004-04-18, 08:12 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •