Difference between revisions of "VS:SetObjWallBreakMode"
From Vectorworks Developer
(no, better leave hard-coded numbers) |
(add remark: fails on Rwalls) |
||
Line 56: | Line 56: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
− | <remark></remark> | + | <remark> |
+ | ([[User:Orso.b.schmid|Orso]], 2020.04.14) | ||
+ | |||
+ | Fails on Round Walls, while on straight walls you must regen the wall and coerce a redraw (bug filed, tested on VW 2019, 2020). | ||
+ | </remark> | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
Revision as of 08:07, 14 April 2020
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Set the break mode for an object in a wall.1 - Full Break with Caps
2 - Full Break no Caps
3 - Half Break
4 - No Break
The object (objH) must be contained in wall (wallH) to succeed.
FUNCTION SetObjWallBreakMode(
objH :HANDLE;
wallH :HANDLE;
breakMode :INTEGER) : BOOLEAN;
def vs.SetObjWallBreakMode(objH, wallH, breakMode): return Boolean
Parameters
objH HANDLE wallH HANDLE breakMode INTEGER
Return Value
True or False upon successful setting of the break mode.False can occur for the following conditions:
- objH is null
- wallH is null
objH is not contained in wallH.
Remarks
(Orso, 2020.04.14)Fails on Round Walls, while on straight walls you must regen the wall and coerce a redraw (bug filed, tested on VW 2019, 2020).