Point2 Values as "Twips" in ActiveX Controls

NOTE:

ActiveX Controls have been deprecated by Microsoft in the latest versions of the Windows operating system in favor of the DotNet framework and its controls.

While MAXScript still supports ActiveX controls, these have to be installed and registered on the system to be accessible to MAXScript.

As a replacement of ActiveX controls, MAXScript supports DotNet controls in 3ds Max 9 and higher.

Some ActiveX Controls' properties and methods expect and return screen coordinate values as "twips", or "twentieths of a point".

A "twip" is a device-independent unit used in the past by Microsoft, for example in Visual Basic.

A "twip" equals to 1/1440th of an inch. Since most screens are assumed to be 72dpi, 1 pixel is 14.4, or approx. 15 twips.

This means that the screen coordinates in pixels have to be converted by multiplying by 15 before passing to methods that expect twips.

See Also