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

    Extrude NURBS

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 221 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 22/06/2010 at 07:53, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   11.5 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hello,

      i like to generate an extrude NURB in my own object plugin.

      BaseObject* CStaticTextClass::GetVirtualObjects(PluginObject *op, HierarchyHelp *hh)
      {
        BaseObject *main=NULL;

      // group all further objects with this null object
        main = BaseObject::Alloc(Oextrude);
      ...

      the plugin registration is

      return RegisterObjectPlugin(PID_STATICTEXT, name, OBJECT_MODIFIER,....

      Ok, i will get an object in the object manager. But if i moved an text spline under, i don't get the same behaviour like the standard Extrude NURBS object. I don't get the 3rd dimension.
      WHY??

      regards
      Markus

      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 22/06/2010 at 08:47, xxxxxxxx wrote:

        That's because the spline object has to be a child object of the ExtrudeNURBS (as usual), which isn't the case if it's a child object of your generator.

        Create a clone of the spline object and insert it as a child object under the ExtrudeNURBS object.

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