Pi_ Posted November 9, 2015 Share Posted November 9, 2015 I can't set the wall break mode from inside the script of a PIO that is inserted in a wall. SetObjectVariableInt(pioHandle,124,4) is not working altough getobjectvariableInt(pioHandle,124) gives me the right value is this a bug? Quote Link to comment
Hippocode Posted November 9, 2015 Share Posted November 9, 2015 Are you sure it's supposed to be an int ? Quote Link to comment
Pi_ Posted November 12, 2015 Author Share Posted November 12, 2015 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? Quote Link to comment
Hippocode Posted November 12, 2015 Share Posted November 12, 2015 (edited) 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 November 12, 2015 by hippothamus Quote Link to comment
Recommended Posts
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.