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

    Topics

    • artmusicstudioA

      Flags (onkeydown) in skp 2025

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      1
      0 Votes
      2 Posts
      51 Views
      Dan RathbunD
      FYI, I did report this to Trimble.
    • artmusicstudioA

      SKP 2023 - german translation

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      4 Views
      TIGT
      Königsblau = Royal Blue [plain wrong!] Ruby-Konsole = Ruby Console [simply correct]
    • artmusicstudioA

      Ruby . - on key now - flags problem

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

      Plugin test version

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      10
      0 Votes
      10 Posts
      13 Views
      A
      edit: found the filed for the version......upload worked thanx for helping me !!!! stan
    • artmusicstudioA

      Working with ifc-attributes

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      7k Views
      No one has replied
    • artmusicstudioA

      Section plane in page

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      5k Views
      artmusicstudioA
      @tig said: A page does not 'have' the active_section_plane. That belongs to the model.active_entities as .active_section_plane So you do need to make the page [scene] in question model.pages.selected_page= and then check the active section-plane details in the model.active_entities ... HI TIG, yes, thanx a lot, i am at this point, too, i think, and i could iterate thru all pages (make the active one after another), with view.refresh off, maybe, i just was hoping, that there is a hidden property for an active section. so the conclusion is: the page (scene) stores the active section - but there is no way to retrieve it directly by api at the moment thanx a lot again stan
    • artmusicstudioA

      Duplicate Material (in materials) with correct texture API

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      4k Views
      No one has replied
    • artmusicstudioA

      Avoiding "Start(Makro)Ruby operation left open"

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      2k Views
      No one has replied
    • artmusicstudioA

      How to release a plugin

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      13
      0 Votes
      13 Posts
      3k Views
      artmusicstudioA
      hi dan, thank you very much, i was already there, but missed somehow to press the button once more after uploading, was too tired probably it works now perfectly (and there were no problem with the code, so things develope well...) stan
    • artmusicstudioA

      SKP 2017 - saving component to file via ruby

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      2k Views
      artmusicstudioA
      hi tig, thanx for replying, i just red your code and suppose, that every skp-file, you call, will be opened in the viewport and resaved as another version - correct? so it cannot be used as a background task within (under) a running sketchup session (maybe a parallel skp-session opens..... ), have to try it out later this evening. what is a big help for me, is the declaration <<ver=Sketchup::Model::VERSION_2016>>, i must have missed it in the api-doc. the rest is clear. but: so there is no way to declare the skp-version when saving a compo to a file, i guess... thanx stan
    • artmusicstudioA

      SKP 2017 on older laptop

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      6
      0 Votes
      6 Posts
      644 Views
      artmusicstudioA
      hello to all and thanx for checking my problem. i will check the specs in detail, maybe it is time to buy a new notebook than.... thanx a lot again stan
    • artmusicstudioA

      STYLES - language handling

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

      Override the alt-key in a class ??

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      236 Views
      fredo6F
      @artmusicstudio said: is it possible to override the native alt-function (menu-hi-lite) temporarily within a tool This is possible for ALT. You need to return true in the onKeyUp method for the case of key == ALT_MODIFIER_KEY. Actually, returning true seems to prevent bubbling. This is also a way to prevent characters to go to the VCB Fredo
    • artmusicstudioA

      Layer name as if-condition ?? possible ???

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

      Selection.add ??? possible?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      291 Views
      tt_suT
      Was that a question on how? Or did you experience issues with Selection.add (because that is exactly the API method to do what you requested: http://www.sketchup.com/intl/en/developer/docs/ourdoc/selection#add)
    • artmusicstudioA

      UI exit ruby?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      624 Views
      artmusicstudioA
      hi and thanx to both, @ tig: yes, i also use puts-tags to follow the code in the console , whit line-number-output to see, in which code -line the puts is. i will try out all the break, next etc. functions. thanx for this? and @tt_su yes, interaction with the viewport was exactly, what i hoped for, so i could inspect the geometry at any stage ot the running code. (break - inspect geometry - go on....). the rest is still tooooo 'high' for me, although i already 'speak' a bit ruby...-:) stan
    • artmusicstudioA

      Retrievin object's absolute height ??

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      18
      0 Votes
      18 Posts
      697 Views
      jolranJ
      Dats true. But I don't understand why you opt to create a new Array for each edge instead of a ternary
    • artmusicstudioA

      A small &quot;entity to group&quot; problem

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      317 Views
      Dan RathbunD
      @artmusicstudio said: ..., is there a code for deliting an array of edges directly ? or do i have to iterate thru the array and erase one after another? use Entities.erase_entities() The argument can be a single entity, or an array of entities. ALSO... Ruby has an "accordian operator" the * that can be used to expand an array into a argument list, or compress arguments in an array. IF erase_entities also takes a list of multiple entities, you could convert the aray to a list like: my_ents.erase_entities( *my_edge_array )
    • artmusicstudioA

      [solved] merging two triangle faces of a mesh-square

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      656 Views
      artmusicstudioA
      hi tt, to finish this topic, i learned how to identify a surface and handle its parts (faces) and now i can manupulate its elements, as needed. thanx to all in this topic for helping and ttheir ideas. stan
    • artmusicstudioA

      Array.uniq! for a 3d-point array ???

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      1k Views
      Dan RathbunD
      @aerilius said: Geom::Point3d.== method checks for example if all coordinates (x, y, z) are equal, and then says two points are equal. uniq appears to check for identity and not for equality. In Ruby 2.x (SketchUp 2014+,) where we now have a block form of the uniq method, that we can tailor to override C internals of the uniq! method, and tell it what and how to do the comparison. Ex: pts = roof.uniq {|a,b| a.==(b) } or: pts = roof.uniq {|pt| pt.to_a } In the future, perhaps, custom uniq methods could be added to a new PointArray subclass of Array., for the API. Of course any author could create such a custom class within their own namespace(s). ALSO.. the many od the API classes should have had their eql?() method aliased as the overridden ==() method. The uniq methods want to call eql?() instead of ==().
    • 1
    • 2
    • 3
    • 4
    • 5
    • 1 / 5