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
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. noseman
    3. Topics
    N
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 11
    • Posts 29
    • Groups 0

    Topics

    • N

      "Cubic Bias" interpolation...

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      5
      0 Votes
      5 Posts
      994 Views
      N
      Thanks Ferdinand!
    • N

      How to get a MoGraph Selection using a Python Effector...

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK sdk
      1
      0 Votes
      1 Posts
      372 Views
      No one has replied
    • N

      How to make a Python Plugin...

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      5
      1 Votes
      5 Posts
      2k Views
      mikeudinM
      @noseman seems that it's needs to be updated https://github.com/nrosenstein-c4d/c4d-prototype-converter/issues/52
    • N

      Get Point Positions of Selected N-Gon or Polygon

      Watching Ignoring Scheduled Pinned Locked Moved General Talk
      11
      0 Votes
      11 Posts
      3k Views
      X
      Hi: This is a bit of a hassle, but can still be scripted, who CARES about an extra polygon. import c4d def main(): polygons = op.GetAllPolygons() points = op.GetAllPoints() point = [c4d.Vector(10000, 10000, 10000),c4d.Vector(9999, 10000,10000), c4d.Vector(9999, 10000, 10001),c4d.Vector(10000, 10000, 10001)] point_indexe = [[len(points) + i ,point[i]] for i in range(len(point))] op.ResizeObject(len(points) + len(point),len(polygons) + 1) set_point = [op.SetPoint(k[0], k[1]) for k in point_indexe] op.Message(c4d.MSG_UPDATE) c4d.EventAdd() if __name__=='__main__': main()
    • N

      iterating on multiple Tmgselection tags

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      2
      0 Votes
      2 Posts
      508 Views
      N
      Replying to my own question. We need to define it using mo.GeGetMoDataSelection(Tag) Code that works. import c4d from c4d.modules import mograph as mo def main(): Cloner = op.GetObject() md = mo.GeGetMoData(Cloner) AllTags = Cloner.GetTags() for Tag in AllTags: if Tag.GetType() == c4d.Tmgselection: print Tag SelTag = mo.GeGetMoDataSelection(Tag) #This is the new line print SelTag.GetCount()
    • N

      Selecting Different components but in Different modes

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      14
      0 Votes
      14 Posts
      2k Views
      ManuelM
      hi, I can't reproduce that, what version are you using ? the only moment where a coordinates could be 0 is if the point and the object's pivot are sharing the same coordinates AND you have the "Enable Axis" enable. (or you are in object's rel or abs coordinate and the point is at the same position of the pivot's object. As if you were at the same time in object's mode and in point mode. (moving the object's pivot point and the modeling axis at the same time) So this look like a bug. by the way, what do you call the "default state" ? The last modeling axis position ? the position when you selected the polygon ? Cheers, Manuel
    • N

      Using Python Node to Traverse Deep Hierarchy... fail

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      5
      0 Votes
      5 Posts
      868 Views
      N
      Ah, you probably expect the toroids to also rotate around their own axis exactly. Thanks
    • N

      XPRESSO Python Node "Could not find port value for..." Error

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      3
      0 Votes
      3 Posts
      589 Views
      N
      @m_magalhaes Oh man... thank you so much. Even when I read your reply, I couldn't "see" it in the Node... was staring at it for to long. thanks.
    • N

      Tag GetInfo() help

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      4
      0 Votes
      4 Posts
      956 Views
      N
      @m_adam Great info. Thanks Maxime!
    • N

      Multi threading in Python - Parallelization

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      3
      0 Votes
      3 Posts
      940 Views
      N
      I have a script that takes 5 hours to do something I wouldn't mind it taking 5 hours / 12 Thank you for the information. I'll put it to good use... and let you know when I fail!