Click or drag to resize

Object3DManagerLockObjects Method

Lock And Hide Objects By Keyword

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public void LockObjects(
	string keyword,
	bool fullMatch,
	bool status
)

Parameters

keyword
Type: SystemString
Keyword : OBST or INSU ...
fullMatch
Type: SystemBoolean
Full Match - True(Full Match) / False(Contains)
status
Type: SystemBoolean
True(Lock And Hide) / False(Unlock And Show)
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
    if (vizcore3d.Model.IsOpen() == false) return;

    // Hide OBST - Keyword : .... (OBST) 
    vizcore3d.Object3D.LockObjects("(OBST)", false, true);

    // Hide INSU - Keyword : .... (INSU)
    vizcore3d.Object3D.LockObjects("(INSU)", false, true);
}
See Also