Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  

Add Command Menu plugin

Recommended Posts

Please help with connecting plugin library module to call from workspace

(menu command for simply).

I compile a TesterModule in SDKVW1600(131671)_Win and get 2 files:

1. Resource QTime compiled file TesterModule.qtr, what consist only


and TEXT definitions, with out a MITM resources!!!

2. Dynamic Library module TesterModule.vlb, what have a initialize structure for


VWExtensionMenu( cbp, gMenuDef, NULL ) with gMenuDef definition by default.

static SMenuDef gMenuDef = {

/*Needs*/ 0x00,

/*NeedsNot*/ 0x00,

/*Title*/ {12000, 1},

/*Category*/ {12000, 2},

/*HelpText*/ {12000},

/*VersionCreated*/ 16,

/*VersoinModified*/ 0,

/*VersoinRetired*/ 0


After that I copy them to plug-ins folder and run VectorWorks 2010.

A constructor :

CExtMenu::CExtMenu(CallBackPtr cbp)

: VWExtensionMenu( cbp, gMenuDef, NULL )

// : VWExtensionMenu( cbp, gMenuDef, gMenuChunksDef )


gSDK->AlertInform( "Tester Mdeule CExtMenu Constructor" );


called and show messagebox during loading application?

But in menus list in Workspace Editor I don?t see them:

(/*Title*/ {12000, 1},) -> ?Tester Menu?) for after

dragging in to workspace menu. (((

thanks for all.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


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.