• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

JavaScript support for Dynamic Components

Scheduled Pinned Locked Moved SketchUp Feature Requests
sketchup
4 Posts 2 Posters 1.3k Views
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.
  • W Offline
    Wainiha
    last edited by 22 Feb 2010, 18:50

    Would be great to add full JavaScript support for Dynamic Components, including:

    • DOM-like traversal of all parent/child components (DCs) and access to their attributes
    • JavaScript in attribute formulas (special syntax? "=JavaScript:___")
    • JavaScript function calls for more elaborate coding abilities
    1 Reply Last reply Reply Quote 0
    • G Offline
      Gaieus
      last edited by 23 Feb 2010, 10:40

      At the early stages of DC's, there were discussions about similar things and it was decided that the functions need to be somewhat restricted for security reasons. You can do a lot of malicious things with javascript.

      Gai...

      1 Reply Last reply Reply Quote 0
      • W Offline
        Wainiha
        last edited by 24 Feb 2010, 16:42

        @gaieus said:

        You can do a lot of malicious things with javascript.

        That's an absurd dismissal of a very good idea. The fact is that without writing or using Ruby plugins, the ability to program Sketchup Dynamic Components is extremely limited.

        1 Reply Last reply Reply Quote 0
        • G Offline
          Gaieus
          last edited by 27 Feb 2010, 06:19

          @wainiha said:

          That's an absurd dismissal of a very good idea. The fact is that without writing or using Ruby plugins, the ability to program Sketchup Dynamic Components is extremely limited.

          It may be so but still this is (at least one of the) reason(s).

          I am not a developer myself just explaining you what I know about these facts (not the maliciousness but the reasons)

          Gai...

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

          Advertisement