sketchucation logo sketchucation
    • Login
    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!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Dynamic Compont Ceiling Error?

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    1 Posts 1 Posters 643 Views 1 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.
    • J Offline
      jshal
      last edited by

      I have a problem creating a simple dynamic component. It is a square, where the user enters the square meters of this square. The X-value can be changed manually, so that the Y-value changes accordingly. The units in the model are in meters.

      Size
      LenX=ceiling(current("LenX"),30)
      LenY=ceiling(Area*10000/LenX,30)

      Behaviors
      ScaleTool: Scale along red. (X)
      Custom
      Area (User imput in m^2), Units:Text, Users can edit as an textbox, Display in: Whole Number

      The problem is that with the scale tool, the final X-value changes randomly.
      When I remove LenX=ceiling(current("LenX"),30), the square behaves normally, but I want the X and Y value incremental every 300mm. Does anybody have a solution? TIA!

      See model: http://jshal.site88.net/wp-content/uploads/2009/07/dc_room.skp

      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