sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    [code] ComponentDefinition-delete (another version!)

    已排程 已置頂 已鎖定 已移動 Developers' Forum
    22 貼文 5 Posters 4.3k 瀏覽 5 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • TIGT 離線
      TIG Moderator
      最後由 編輯

      It's ' commit_operation' NOT ' confirm_operation' - my typo 😳 - it's now corrected in my earlier code...
      You can manually select objects including instances, and just the instances' definitions will be processed.
      You can only add 'entities' to a Selection [like geometry or instances] in code.
      NOT a 'definition' - which is NOT an 'entity'... 😕

      TIG

      1 條回覆 最後回覆 回覆 引用 0
      • F 離線
        Frankn
        最後由 編輯

        @tig said:

        It's ' commit_operation' NOT ' confirm_operation' - my typo 😳 - it's now corrected in my earlier code...
        You can manually select objects including instances, and just the instances' definitions will be processed.
        You can only add 'entities' to a Selection [like geometry or instances] in code.
        NOT a 'definition' - which is NOT an 'entity'... 😕

        Thanks you sir! That works perfectly! I should of caught that but I just figured it was a command I didn't know of yet! 😳 😄

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

        Advertisement