sketchucation logo sketchucation
    • 登入
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    New to DC: topic for my simple questions to the pros

    已排程 已置頂 已鎖定 已移動 Dynamic Components
    sketchup
    74 貼文 3 Posters 56.4k 瀏覽 3 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • P 離線
      pibuz
      最後由 編輯

      Bummer... Thanks a lot by the way!

      WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

      1 條回覆 最後回覆 回覆 引用 0
      • P 離線
        pibuz
        最後由 編輯

        Hi again!
        ..I am wondering: is there any way I can make a list option in a DC to be displayed in red?

        WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

        1 條回覆 最後回覆 回覆 引用 0
        • P 離線
          pcmoor
          最後由 編輯

          You can alter the font on component info attributes and labels, not values using syntax as per
          https://help.sketchup.com/en/sketchup/dynamic-components-supported-html-tags

          you can change via formula as per example, so a particular value could set up a warning in the info section


          colors in label and component info.skp

          1 條回覆 最後回覆 回覆 引用 0
          • P 離線
            pibuz
            最後由 編輯

            Hi Moor! Thank you very much for your support!

            I've encountered another issue: I need to "cut" holes into a cloth sheet. Basically, I decide the cloth dimensions and, based on that, a series of holes must appear for it to be fixed to the surrounding structure. I observed that the "cutting component" works, but its copies do not.
            Is there a way to fix this?

            THANKS A LOT!


            cielino tessuto occhiellato_v3.skp

            WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

            1 條回覆 最後回覆 回覆 引用 0
            • P 離線
              pcmoor
              最後由 編輯

              you basically create a cutting component within another cutting component

              https://sketchucation.com/forums/viewtopic.php?f=180&t=67635&hilit=+hole

              1 條回覆 最後回覆 回覆 引用 0
              • P 離線
                pibuz
                最後由 編輯

                Thank you very much! After a little hassle I found my way!

                WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                1 條回覆 最後回覆 回覆 引用 0
                • P 離線
                  pibuz
                  最後由 編輯

                  Hi again! I have an issue with the attached dynamic component: I can't figure out why I don't get the lower plane length to be updated if I change the length AFTER the copies are done. Seems like the lemgth parameter doesn't apply to the copies.... Does anyone have an hint or me?


                  cielino v6.skp

                  WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                  1 條回覆 最後回覆 回覆 引用 0
                  • P 離線
                    pcmoor
                    最後由 編輯

                    to overcome (workaround) this issue you can collect the geometry into another component then reference the current state of the size property

                    When experiencing problems with rotation or sizes< I have found that adding another "shell" isolates and protects the contents from SketchUp making unwanted updates.

                    The encasing and reference to a current value is the basis for creating components that can be swapped so their current size properties are retained. Like a timber beam with a length in say lenx, can be swapped with a steel beam and their lengths match. Of course you would not want this to to happen when you swap a toilet for a basin, which is the behavior that is built into the DC code and what you are experiencing.


                    cielino_fascione coverup (use of current and extra component shell).skp

                    1 條回覆 最後回覆 回覆 引用 0
                    • P 離線
                      pibuz
                      最後由 編輯

                      Thanks a lot Moor! I'm going to keep this in mind!

                      WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                      1 條回覆 最後回覆 回覆 引用 0
                      • P 離線
                        pibuz
                        最後由 編輯

                        Hi to all! I have a small issue regarding materials and custom material libraries, not specifically DCs, but I thought to post here not to add another topic.

                        I am currently trying to save skm materials from the models I'm making, so that it's easier to reuse them in other models. I work with a template which loads some standard materials, say for example a pure 255 white called "white cloth". If I make a component in a new file with another perfect white material named "white plastic" and I import the model into the template model file everything works ok: the second material is added to the home library of materials. If instead I have "saved as" my white plastic material in a custom skm library, whenever I try to paint it to an object which is into the template model it gets automatically substituted by the white cloth material. Is there a way to fix this?

                        WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                        1 條回覆 最後回覆 回覆 引用 0
                        • P 離線
                          pibuz
                          最後由 編輯

                          Hi again! I want to have to possibility to have the Definition Name of a DC to be displayed in the Options Dialog, so that if I rename a DC I have its correct name on the dialog. Is that possible?

                          WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                          1 條回覆 最後回覆 回覆 引用 0
                          • P 離線
                            pcmoor
                            最後由 編輯

                            The components instance name is already tied to both the attribute and option dialog, this can be updated on the fly. This works if you do not use the name attribute and only after loading the component.
                            Otherwise the component definition name can be accessed via a ruby script and placed into an attribute value.

                            1 條回覆 最後回覆 回覆 引用 0
                            • P 離線
                              pibuz
                              最後由 編輯

                              Thanks! And what would this ruby script be?

                              WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                              1 條回覆 最後回覆 回覆 引用 0
                              • P 離線
                                pcmoor
                                最後由 編輯

                                see the link to topic

                                https://sketchucation.com/forums/viewtopic.php?f=289&t=71346

                                1 條回覆 最後回覆 回覆 引用 0
                                • P 離線
                                  pibuz
                                  最後由 編輯

                                  thanks Moor!
                                  Sorry, but maybe I misexplained what I need, I'm attaching an example.

                                  In this case I'd like that if I rename the component to whatever else, I get the new name in the Option dialog title. At the moment, this wont' happen: it keeps titling "elemento da prelevare_shell".


                                  190913_template prelievo da magazzino.skp

                                  WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • P 離線
                                    pcmoor
                                    最後由 編輯

                                    you can use the component instance name to give each instance an unique name which is reflected in all the dialog, which is the natural inbuilt way

                                    Capture.jpg

                                    otherwise set
                                    Name = _name
                                    in the DC then
                                    use a button from the toolbar extension to fire the code snippet to alter the _name attribute, which reads the current definition name, updates the original name to update the option dialog

                                    Capture2.JPG

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • P 離線
                                      pibuz
                                      最後由 編輯

                                      Sorry Moor, I don't understand. In the file I sent you, if I change the Instance name of "elemento da prelevare_shell" NOTHNG CHANGES in any window...

                                      WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • P 離線
                                        pcmoor
                                        最後由 編輯

                                        saveas the DC to a folder then bring it into another file, for some reason it does not initially work within its created file, after that, should work, regardless of the number of changes, the references are still maintained

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • P 離線
                                          pibuz
                                          最後由 編輯

                                          OH BIG THANKS! I WAS MISSING THE FACT THAT IT DOESN'T WOTK ON THE ORIGINAL FILE!

                                          WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • P 離線
                                            pibuz
                                            最後由 編輯

                                            Hi again! is there a way I can LOCK the rotation of a DC along specific axis'?
                                            I have a panel which I don't want users to be able to use as ceiling, so I only want it to be rotateable along its blue axis

                                            WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement