Jump to content

Matthias Ganninger

  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

1 Follower

About Matthias Ganninger

  • Rank

Personal Information

  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Matthias Ganninger

    Undo of a symbol import destroys Undo-Stack

    I just checked newest Build (509057) Bug is fixed in that build. Sorry for the inconvenience.
  2. Matthias Ganninger

    Undo of a symbol import destroys Undo-Stack

    Hi, thanks for your answer Nikolay. I didn't find a topic about this. Yes it is only happening in VW2020. In VW2019 it works as expected.
  3. Matthias Ganninger

    Undo of a symbol import destroys Undo-Stack

    Hi, it seems that the following workflow destroys the Undo-Stack: 1. Import symbol into current document (either by SDK or by using the Resource Manager - select import from symbols context menu) 2. Press Undo 3. Press Redo -> Won't work (Minor alert: "No undo history") Is this a known bug or are we missing something here?
  4. Matthias Ganninger

    Class Creation during a tool's DoSetUp (Beta Undo Alert 9)

    Thanks Joshua, your code snippet works perfectly in DoSetup. I forgot adding the class handle to the Undo.
  5. Matthias Ganninger

    Creation of temporary objects while tool is active

    I tried to invoke a screen redraw, but I can't really find out how to do it. I played around with ISDK::RedrawRect without any effect. Any hint, how to invoke that redraw?
  6. Matthias Ganninger

    Creation of temporary objects while tool is active

    Hi, we want to display 3D-objects (e.g. extrudes) while one of our tools is activated. To do that we create the objects during VWTool_EventSink::DoSetUp and remove them during VWTool_EventSink::DoSetDown (we don't add them to the undo system). However those objects are not immediately visible in the drawing, only their selection geometry is visible. They become visible as soon as we create another object and create an undo step for that (e.g. in VWTool_EventSink::HandleComplete). Is there a way to create 'temporary' objects (objects that don't land on the undo stack) which are immediately visible during a tool's DoSetUp? Regards, Matthias
  7. Hi, I am implementing a tool event sink by inheriting from VWFC::PluginSupport::VWTool_EventSink. During DoSetUp I want to create a Vectorworks class if it doesn't already exist in the current document. When trying that many "Beta Undo Alert 9" - warnings are thrown at me (see attached image). I tried to create an Undo step around the class creation but that did not help. What am I missing here? Is there a recommended way of creating a class during DoSetUp without drowning in Beta Undo Alert 9 warnings? Regards, Matthias
  8. Matthias Ganninger

    Import Symbol during a Tool's DoModeEvent throws "Beta Undo Alert 9"

    Hi Stefan, thanks for your answer. Explicitly starting an Undo Event before the import seems to help, as long as I do not end it explicitly. When I try to end the Undo event after the import (by calling ISDK::EndUndoEvent) the error comes back. If I leave the Undo step open it seems to work nearly perfect. Our intention with that code was to temporarily import a symbol to read and cache some data. So we were trying to get around the Undo system by not adding the imported object to it (because we immediately delete it before we are finished handling VWTool_EventSink::DoModeEvent). Our solution for now is to start an UndoEvent for the Import and roll it back after we are finished (by calling ISDK::UndoAndRemove). This seems to work. Is this a good idea to do while handling the tool event VWTool_EventSink::DoModeEvent ?
  9. Hi, we are trying to import a symbol while handling a ToolModeMessage (VWTool_EventSink::DoModeEvent). That seems to work. However Vectorworks complains shortly afterwards with this message: "Beta Undo Alert 9. The Undo System is thrown-off by last action". Is it allowed to import a symbol during a ToolModeMessage? If yes, any hints on what we could do to satisfy the Undo System? Best Regards, Matthias Ganninger


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.