sketchucation logo sketchucation
    • Login
    1. Home
    2. aircooled
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 9
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Auto-incrementing ID property in a DC

      OK, so no takers on that one...
      When I export the csv file with all the components in it, I see that Sketchup has put a unique number against each one e.g. Model/Wall Panel #1 etc. This column in the CSV is called Path. Any idea if this value can be accessed as a property of the component?
      Thanks

      posted in Dynamic Components
      A
      aircooled
    • Auto-incrementing ID property in a DC

      Hi,
      I've got a dynamic component that models a modular building unit. You copy it around the model and change some of its properties to create slightly different versions of the component doing different jobs as you go. One thing I haven't been able to do is make each instance of the DC assign itself a sequential unique identifier. I am currently using a concatenation of its position to make a long number, but a 1,2,3... sequence would be preferable. Any ideas on how to do this?
      Thanks

      posted in Dynamic Components sketchup
      A
      aircooled
    • RE: Display component custom attribute in model

      Quick test reveals that this is a feasible approach. I'm a little worried by the exponential increase in the number of components in the model, but I'll have to test and see whether that kills the performance.
      I'll put up the sample when its working.


      2 digit counter display


      5 digit version

      posted in Dynamic Components
      A
      aircooled
    • RE: Display component custom attribute in model

      Apologies for the stream-of-consciousness posts - but is there some way to make an auto-incrementing identifier as a custom property of a dynamic component instance? I was using a complex identifier made up of the z-x-y co-ordinates in inches, but this produces 11 digits where probably 3 would do. The corresponding complexity of the 'digital clock' display becomes problematic.

      posted in Dynamic Components
      A
      aircooled
    • RE: Display component custom attribute in model

      Ha! Thanks for that suggestion - so crazy it just might work! I was hoping that there may be a ruby toolkit that could do it in a programmatic way.

      posted in Dynamic Components
      A
      aircooled
    • Display component custom attribute in model

      Hi,
      I have created a dynamic component that models a type of SIP panel for construction. When creating output I'd like to show sections of the model with each instance of the component displaying its unique identifier. The unique identifier is set by using a formula within the dynamic component. Is there anyway to display a component attribute in text on the component in the model?
      Thanks in advance!

      posted in Dynamic Components sketchup
      A
      aircooled
    • RE: Printing text for dynamic component attribute.

      This thread seems to deal with the same issue (amongst other things):

      http://forums.sketchucation.com/viewtopic.php?f=15&t=14353&p=108605

      It seems not, which is annoying. I'm going to see if Layout can do something for me.

      posted in SketchUp Discussions
      A
      aircooled
    • RE: DC "jumping" when moved/rotated

      Did anyone have any idea about this issue, I've got the same problem.

      posted in Dynamic Components
      A
      aircooled
    • RE: Dynamic Wall Component

      The value of LenX which is returned is in inches, even when the model is in centimetres. So you need to compare with LenX * 2.54 e.g.:

      =NEAREST(CURRENT("LenX")*2.54,350,450,820,900)

      posted in Dynamic Components
      A
      aircooled
    • 1 / 1