Jump to content

Cmb

Member
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About Cmb

  • Rank
    Greenhorn

Personal Information

  • Location
    Belgium

Recent Profile Visitors

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

  1. Cmb

    Get the program state via SDK ?

    Thanks to both of you for your answers. For the moment, I have no success reading minidump files. I'll try to know more about pdb and symbols to get something.
  2. Cmb

    Get the program state via SDK ?

    Hello, I need to get the state of the execution of VW after loading my plugins. (if it crashed or executed well), when I build in Release. Is there a way to know when the program exits ? Or it 's impossible to catch this event via the SDK ? Because of the COM mechanisms, the entry point is called multiple times and i'm not sure if we can know when it closes. An idea was to try catch(...) all, but the sdk isn't using exceptions neither my plugins. Without writing own exceptions at plugins level, meybe there is another way to get a trace slighty like a debugger would do, but in Release ? (with .pdb, or crashdumpfile ? But how in the context of the SDK..) Thank you very much for helping,
  3. Cmb

    Setting text size in Dimension object?

    If you look at the drawing Tree or try to ungroup your Dimension object (CTRL + U), you will find out that there are Lines Nodes and a Text Node : You can then easily change the charSize of the Text Object with for example : virtual void ISDK::SetTextSize(MCObjectHandle textBlock, Sint32 firstChar, Sint32 numChars, WorldCoord charSize); Best,
  4. Cmb

    Associations equivalent in C++

    Hello ! I'd like to know if there is an equivalent as this method in Vectorscript in the SDK : AddAssociation(obj1, kOnDeleteDelete, obj2); or what is the best way to have the same behavior, as I want to delete a child when an Object is removed. I also tried to catch the event in VWParametric_EventSink, but can't find a virtual for that. Is there a way to do this without having to override : virtual Sint32 VCOM_CALLTYPE Execute(ParametricMessage* message); Thanks

 

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.

×