tinc:createbreaklinebyentity


(tinc:createBreaklineByEntity  ename  type  ent  elevType)

Creates a breakline constraint of type using ent  and elevType for the ename TinSurface; returns ID identifier (integer) or NIL.

Arguments

ename  (ename) the TinSurface entity
type  (integer 0...1) type of the breakline constraint to be created (bcTinBreaklineNomal 0, bcTinNonDestructive 1)
ent  (ename) specifies the breakline entity (any curve type)
elevType  (integer 1...3, bcTinElevationMin 1, bcTinElevationMax 2, bcTinElevationMid 3) defines the elevation type for the breakline constraint

Return

(integer) ID, identifier of the constraint, or NIL if the operation fails

Example

(setq constraint (tinc:createBreaklineByEntity tin bcTinBreaklineNomal (entlast) bcTinElevationMid))
(setq constraint (tinc:createBreaklineByEntity tin bcTinNonDestructive (entlast) bcTinElevationMid))

(setq constraint (tinc:createBreaklineByEntity tin bcTinBreaklineNomal (entlast) bcTinElevationMin))
(setq constraint (tinc:createBreaklineByEntity tin bcTinNonDestructive (entlast) bcTinElevationMin))

Remarks

for the breakline constraint type, see Type Constants



©  Bricsys NV. All rights reserved.