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 離線
      pcmoor
      最後由 編輯

      you could use the summary to display the data as the "component info" section is not affected.

      I suggest you consider using some ruby scripts with your DCs to help with placement, multiple changes....


      auto-erasing formulas.skp

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

        Hi all!
        Sorry to ask for help again: I'm trying to figure out the simplest way to round a result of a formula to the closest upper value of a list with non constant intervals (e.g. 20,70,180,500)

        Do you have any hints for me?

        Thanks in advance as usual!

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

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

          nearest
          then test if input > nearest
          if so find the next value

          example 1: use a string of values and string functions to get the next


          next largest.skp

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

            I was almost there 😆 thanks a lot Phil!

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

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

              Hi! is there a way to select all locked components? a plugin or a one-line snippet maybe?
              Thanks in advance!

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

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

                Hi again! I have a new question for Phil 🤣

                I have a formula which returns a text string which may contain LUCIDO, SEMILUCIDO or OPACO.

                I want another attribute to substitute in that exact string the words LUCIDO, SEMILUCIDO or OPACO with GL100, GL60 or GL25 respectively. Is there a way to do that?

                Thanks in advance!

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

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

                  Hi Filippo
                  can use nested SUBSTITUTE

                  order is important
                  example attached


                  SUBSTITUTE.skp

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

                    So cool! Thanks a lot, I couldn't have made it by myself. 💚

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

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

                      Hi again! This is slightly OffTopic but it seems I can't find out a plugin I once saw.
                      Say we have a DC ("wall") in a model, then we copy it 2 more times and make 3 variations in total, which will be called "wall", "wall#1" and "wall#2". Say we later delete the wall#1 instance, so we have "wall" and "wall#2".

                      This plugin checks the numbered instances of "wall", and renames the "wall#2" instance to "wall#1" (since "wall#1" is available again after the deletion).

                      Con any of you guys recall what was the name of this plugin?

                      Thanks in advance!

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

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

                        Eneroth Decrease Component Number on extension warehouse

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

                          Wonderful!!! THANKS Phil!

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

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

                            Hi again! Happy new year!
                            I have the need to bulk export the thumbnails of the selected components, I fiddled around in the forums and I discovered this small but effective Ruby code:

                            mod = Sketchup.active_model # Open model
                            sel = mod.selection # Current selection
                            path = mod.path #current path
                            mypath= File.join(File.dirname(path),'/') #not the model name

                            sel.each do |sel| # you would have to select all components in the model
                            compname = sel.name # each component's definition name
                            thumbnailname = File.join(mypath, compname + '.jpg') # as jpg
                            sel.definition.save_thumbnail thumbnailname
                            end

                            The only issue is that this plugin doesn't work if i have the character "|" in the component instance name. Is there a way to allow the character in the "allowed" characters? Thanks in advance!

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

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

                              Hi again! Is there a way, even a small oneliner ruby code, to get a dimension in SKP (Not layout) with NO leaders at all? No lines, only the number.

                              Thanks in advance!

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

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

                                Hi again!
                                another silly question: is there any way a plugin could select all the dynamic components which share the exact same attribute selections as the selected one?

                                Could be very useful.

                                A searched a lot but could not find any in the internet..

                                Thanks in advance!

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

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

                                Advertisement