Jump to content
Developer Wiki and Function Reference Links ×

set wall break mode of plug-in object


Pi_

Recommended Posts

yes,

it is in the vectorscript Appendix,

I discovered getobjectvariableint is gives the default break mode of the plugin, not the instance break mode.

setobjectvariableint doesn't change anything (not the default value or the instance value)

could it be it is only available for SDK plugins?

Link to comment

Maybe it depends on where/when you SET that variable. Where do you make the "set" call ?

// Plugin insert selectors
// ----------------													
const short ovPluginInsertMode			= 123 ; 	// short - where to insert the symbol in the wall - Public for VS

//const InsertModeType kPluginnsertOnCenter	= 0;	insert at the center of the wall
//const InsertModeType kPluginInsertOnEdge	= 1; 	Symbol Defs do not distinguish between left and right.

const short ovPluginBreakMode			= 124 ; 	// short, specifies how the wall is broken where the symbol is inserted - Public for VS

//const BreakModeType kPluginFullBreakWithCaps = 1;	standard for most symbol insertions
//const BreakModeType kPluginFullBreakNoCaps	= 2;	no cap lines, but the wall is broken
//const BreakModeType kPluginHalfBreak			= 3; 	for edge insertion only;
//const BreakModeType kPluginNoBreak			= 4;	no break in the wall		



// Symbol definiton selectors
// ----------------													
const short ovSymDefInsertMode			= 125 ; 	// short - where to insert the symbol in the wall - Public for VS

//const InsertModeType kSymInsertOnCenter	= 0;	insert at the center of the wall
//const InsertModeType kSymInsertOnEdge		= 1; 	Symbol Defs do not distinguish between left and right.

const short ovSymDefBreakMode			= 126 ; 	// short, specifies how the wall is broken where the symbol is inserted - Public for VS

//const BreakModeType kSymFullBreakWithCaps = 1;	standard for most symbol insertions
//const BreakModeType kSymFullBreakNoCaps	= 2;	no cap lines, but the wall is broken
//const BreakModeType kSymHalfBreak			= 3; 	for edge insertion only;
//const BreakModeType kSymNoBreak			= 4;	no break in the wall		

const short ovSymbolInsertAsGroup		= 127 ;		// Boolean, whether to perform a Shallow Symbol to Group after insertion - Public for VS

const short ovSymDefUseClass			= 128 ;     // Boolean, use the class of the symbol definition as the class for the new insert

const short ovSymDefInsertIntoWalls		= 129 ;		// Boolean, allow or prevent wall insertion of symbols

const short ovSymDefPageBased			= 130;		// Boolean - whether the symbol will have a constant page size, meaning it will have the same size
												// on screen for different layer scales, and its world size will be different for different
												// layer scales - Public for VS

Edited by hippothamus
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...