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

    LSeibt

    @LSeibt

    10
    Reputation
    1
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Age 51

    LSeibt Unfollow Follow
    registered-users

    Latest posts made by LSeibt

    • RE: Plugin for Sketchup using VB.NET or C#

      @jhauswirth said:

      @lseibt said:

      @morisdov said:

      I tried using the code that follows, but it always shows an error saying that the class is not registered.
      [/code]

      You need to register it-
      regsvr32 sketchupreader.dll

      Even registering this DLL can not run this code
      Did you already wrote some code to Sketchup using VB.NET?
      Have some simple example that could show?

      Thanks

      posted in Developers' Forum
      L
      LSeibt
    • RE: [Resolved] How select a face created in another face?

      @unknownuser said:

      If you are using entities.add_face, the new face created is returned as the result. You can create the face with either lines (edges) or points. No big deal.

      Yes .. You're right.
      This morning I could get tested and worked properly in this way.
      Thanks

      posted in Developers' Forum
      L
      LSeibt
    • RE: Plugin for Sketchup using VB.NET or C#

      @morisdov said:

      Hello Leonardo,

      I created a few for customers.

      1. Using visual studio create a new project type of a windows class library. In your dll expose public methods to be accessed from sketchup.

      2. download from the web win32api.so and copy it into Sketchups Plugins folder. follow the examples on http://ruby-doc.org/docs/ProgrammingRuby/html/lib_windows.html

      Start slowly and advance in steps.

      Moris

      Actually what I had thought was to develop something directly in VB.NET that "converse" with Sketchup.
      I add in my project the COM "Sketchup 2.0 Type Library" which gives me access to the API commands SketchUp.
      I tried using the code that follows, but it always shows an error saying that the class is not registered.

      
      Imports SketchUp
      
      Public Class Form1
      
          Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
              Dim app As SkpApplication = New SketchUp.SkpApplication
              Dim doc As SkpDocument
      
              doc = app.ActiveDocument
      
          End Sub
      End Class
      
      
      posted in Developers' Forum
      L
      LSeibt
    • Plugin for Sketchup using VB.NET or C#

      Hello everyone

      I wonder if someone has already developed a plugin for Sketchup using VB.NET or C#.
      I saw that I add as a reference library of Sketchup as a COM
      But I found no example of coding in these languages over the Internet
      Could anyone help me with this?

      Thanks

      posted in Developers' Forum
      L
      LSeibt
    • [Resolved] How select a face created in another face?

      Hello everyone

      I am developing a plugin to make holes in a given geometry.
      Select the face where I will apply this geometry and design lines that will make this hole.
      How do via code, to capture that face created as a result of this new geometry that was drawn on the selected face?

      Thanks

      posted in Developers' Forum
      L
      LSeibt