line3d width?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 02/10/2008 at 10:43, xxxxxxxx wrote:

User Information:
Cinema 4D Version:    
Platform:      
Language(s) :

---------
Hi,

is it somehow posible to specify a width for line3d?
the default width is too narrow for my taste..

if its not possible, is there another way to draw lines in the viewport ?

thanks,
Daniel

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 23/10/2008 at 02:22, xxxxxxxx wrote:

Use the LineNew() drawing function. You can change the line width with SetDrawParam(). Little example:

> \> Bool LookAtCamera::Draw(PluginTag \*tag, BaseObject \*op, BaseDraw \*bd, BaseDrawHelp \*bh) \> { \>      GeData lw = bd->GetParameterData(DRAW_PARAMETER_LINEWIDTH); \> \>      bd->SetPen(Vector(1.0,0.5,0.0)); \>      bd->SetMatrix_Matrix(NULL, bh->GetMg()); \>      bd->SetDrawParam(DRAW_PARAMETER_LINEWIDTH, GeData(9.0)); \>      bd->LineNew(Vector(0.0), Vector(100.0), 0); \>      bd->SetDrawParam(DRAW_PARAMETER_LINEWIDTH, lw); \> \>      return TRUE; \> } \>

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 23/10/2008 at 03:20, xxxxxxxx wrote:

thanks!
will check it out.

greetings,
Daniel