sketchucation logo sketchucation
    • Login
    1. Home
    2. jprisbe
    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
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 1

    jprisbe

    @jprisbe

    10
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    jprisbe Unfollow Follow
    registered-users

    Latest posts made by jprisbe

    • RE: Model.import not working for newbie.

      Still doesn't work for me. There is nothing attached to my cursor.

      posted in Developers' Forum
      J
      jprisbe
    • RE: Model.import not working for newbie.

      3ds file uploaded.


      B473.zip

      posted in Developers' Forum
      J
      jprisbe
    • Model.import not working for newbie.

      I have a very simple script to import a 3ds file.

      <span class="syntaxdefault">model </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> Sketchup</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">active_model<br />fileName </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> </span><span class="syntaxstring">"C;\\temp\\B473.3ds"<br /></span><span class="syntaxdefault">show_summary </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> true<br />status </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> model</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">import</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">fileName</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> show_summary</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">UI</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">messagebox</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">status</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">model</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">commit_operation</span>
      

      When the script runs I get the Import Process dialog but I get no summary dialog and there is nothing in Sketchup.
      model.import returns true.

      If I do an import from the File menu all works well.

      What am I doing wrong?

      posted in Developers' Forum
      J
      jprisbe