sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Component that can not be made unique

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 3 Posters 763 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sdmitchS Offline
      sdmitch
      last edited by

      Is there any reason that a component created by a plugin can not be made unique?

      I've tried using a group and .to_component as well as creating the definition.entites. In both cases, when the component is added to the model, the 'Make Unique' option is grayed out. If I copy the instance, the copy can be made unique while the original still can not be.

      I guess the answer is to hide an instance in the model so additional copies can be placed made unique and modified

      Nothing is worthless, it can always be used as a bad example.

      http://sdmitch.blogspot.com/

      1 Reply Last reply Reply Quote 0
      • BoxB Offline
        Box
        last edited by

        Check when you have made a copy, can you make the original unique if you haven't made the copy unique.
        I think you may be simply running into the logic problem of there needs to be something to make your component unique from, if there is only one it already is unique.

        1 Reply Last reply Reply Quote 0
        • sdmitchS Offline
          sdmitch
          last edited by

          It makes perfect sense I guess that, if you only have one instance of a component in the model it is already 'unique'. What I was trying to do is create a basic component in the model then place and modify copies of that component without effecting the original. Placing and hiding a copy solves the 'logic problem'.

          Nothing is worthless, it can always be used as a bad example.

          http://sdmitch.blogspot.com/

          1 Reply Last reply Reply Quote 0
          • S Offline
            slbaumgartner
            last edited by

            If you want each copy to be unique, why not use Groups? The Group#copy method automatically clones the associated ComponentDefinition and hooks the new copy to the new clone. That is, each copy is "unique" right from the start.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement