Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Nebeor

  • Rank

Personal Information

  • Occupation
  • Location

Recent Profile Visitors

188 profile views
  1. Nebeor

    Add tool Preferences to SDK tool

    I made an extension tool that derives from VWExtensionTool like in the provided SDK samples. How can i add preferences AKA object properties or parametric record to this, so that i can edit those as settings for the tool, like in this little screenshot? I was expecting a solution similar to VWExtensionParametric for VWExtensionTool but i didn't found a way to include the parameter definition array, Thanks beforehand for your advice.
  2. Nebeor


    Thank you, This works, but i would like to understand he story behind TransformMatrix and VWTransformMatrix. What's compatible and what is not?
  3. Nebeor


    I'm trying to transform a 3Dpoint in my drawing to a point in the screen, intuitively I would multiply with a (VW)TransformMatrix that should be easy to retrieve. I tried this: VWTransformMatrix viewMatrix; gSDK->GetViewMatrix(gSDK->GetActiveLayer(),viewMatrix); This line returns a empty (identity) matrix, even when i'm not in top view. I'm using an isometric perspective. What could I be doing wrong?
  4. Nebeor

    Double Clicking on PIO

    This was exactly what i was missing, it is actually the same as it was in VectorScript.
  5. Nebeor

    Double Clicking on PIO

    Hello Stefan, Maybe i wasn't very clear from the beginning. I'm doing exactly as you told me, it's just that it doesn't work. if I double click, i just receive the default dialog that says: choose component : path or profile(because it's a 2D path object), instead of executing the code that i putted in my overridden function.
  6. Nebeor

    Assign class to object, but not to subobjects?

    What should be the purpose of the class of the sub object, should it affect the drawing visually, even when the parent is set to another class? Does this class changing involves plugin objects?
  7. Nebeor

    Double Clicking on PIO

    Which SDK version are you using then? Why does the name of the class starts with 'XXX' and not 'VW'?
  8. Nebeor

    Double Clicking on PIO

    Thank you for your reply, but, i don't have a XXXRegenSink in my SDK, i'm using Vectorworks 2015. I already tried to overload VWParametric_EventSink::OnSpedialEditID() in my subclass but it didn't seem to work.
  9. Nebeor

    Double Clicking on PIO

    How do i show my dialog instead the default dialog when double clicking on a plugin object? In VectorScript this is quite simple, but here it isn't. Intuitively i would think i just have to overwrite override a method of the VWParametric_EventSink. Do i have to use another EventSink specific for clicking? (as there is one for panes) Thanks in advance!
  10. Nebeor

    How to set a pluginObject to transparent

    My problem was not related to the plugin that's not transparent, but to extrusion inside: I had to use gSDK->setFillpath(h,0) two times: on the 2DpolygonObj that got extruded on the extrusion itsef. Problem solved!
  11. Nebeor

    How to set a pluginObject to transparent

    You give a lot of good suggestions but these will still have some impact on how my end users experience my plug-ins that are originally written in Vectorscript.
  12. When in the OpenGL render mode: I have some trouble with selecting objects that are behind or in the middle of a PluginObject written in C++. This problem doesn't occur in Vectorscript. The blocking object itself containts a transparent extrusion, but It doesn't seems to be transparent itself. I didn't found a way to set the PluginObject itself to transparent other than changing it from class. In other words: I'm looking for some function that can almost any object transparent and not just 2D poly's. like with gSDK->SetFillPat(rect,0); -Edit What I forgot to mention is that at first my extrusion was made transparent just by assigning a class that was set to no fill, this wasn't enough to solve my needs.
  13. std::getLine has nothing to do with my problem but i do should replace it with something native to TXString. casting TXString to std::strings is a quite awful idea.
  14. I have rewritten all my VectorScript Plug-ins to SDK Plug-ins: It doesn't crash anymore. The treatment of 'ResetObject' in Vectorscript or in the SDK seems to follow a different logic, maybe this has something to do with it. Maybe with implementing all the still lacking features, I will find out what might be wrong.
  15. With a logfile I was able to see that there was nothing that halted the execution of the kid's script.


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.