XCAD.NET
XCAD.NET
Framework for .NET (C# and VB.NET) to create modern application for CAD systems (SOLIDWORKS)
Get technical support Access source code Explore code and application examples

Number Box in SOLIDWORKS Property Manager Page


Simple number box
Simple number box

Number box will be automatically created for the properties of int and double types.

public int Number { get; set; }
public double FloatingNumber { get; set; }

Style of the number box can be customized via the NumberBoxOptionsAttribute

Number boxes with additional styles allowing specifying the units and displaying thumbwheel for changing the value
Number boxes with additional styles allowing specifying the units and displaying thumbwheel for changing the value

[NumberBoxOptions(NumberBoxUnitType_e.Length, 0, 1000, 0.01, true, 0.02, 0.001,
    NumberBoxStyle_e.Thumbwheel)]
public double Length { get; set; }


Powered by Docify