Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    line3d width?

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 271 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post