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

    Topics

    • R

      [Sketchup C API] Set mm as units of newly created model?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      180 Views
      No one has replied
    • R

      [Sketchup C API]Howto merge models oftwo .skp files into one

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      657 Views
      tt_suT
      I'll check with the rest of the team on the unit issue.
    • R

      How to read .skp files in ruby?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      702 Views
      P
      When you import a model, the entities (edges, faces, groups,... ) don't go directly in model.entities. They are encapsulated in a new component....
    • R

      How to fetch all material in SKP via Ruby?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      222 Views
      TIGT
      You can only access the Materials that are loaded into the Model. You can iterate the list and get various aspects of the material. Sketchup.active_model.materials.each{|material| puts material.name puts material.display_name puts material.color puts material.alpha puts material.texture ### and so on... puts } I have included the puts so the info is shown in the Ruby Console but of course you can do other things with that... A Material's '.display_name' is not always the same as the '.name' [depends on its creation/source] A Texture can also be further probed to get info like its image, size and so on... Read the API http://www.sketchup.com/intl/en/developer/docs/classes.php If you must get details of SKM files not yet loaded [and not loadable using native API methods] then you could look at my SKMtools which offer many additional tools to import/export/interrogate SKM files etc... But please learn to walk before you run
    • R

      How to check if two ComponentInstances are in contact?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      250 Views
      R
      Thank you sir.
    • 1 / 1