Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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. ymoon
    • Profile
    • Following 1
    • Followers 1
    • Topics 13
    • Posts 32
    • Best 1
    • Controversial 0
    • Groups 0

    ymoon

    @ymoon

    1
    Reputation
    16
    Profile views
    32
    Posts
    1
    Followers
    1
    Following
    Joined Last Online

    ymoon Unfollow Follow

    Best posts made by ymoon

    • RE: Run command, after c4d fully loaded...

      Thank you.. It's Solved.
      @fwilleke80 @ferdinand and @kbar

      def PluginMessage(_id, data):
      if _id == c4d.C4DPL_PROGRAM_STARTED:

      posted in Cinema 4D SDK
      ymoonY
      ymoon

    Latest posts made by ymoon

    • RE: Python Tag plugin : Is it possible to disable(ghost) the host object's parameters?

      @ferdinand
      Thank you for your kind explanation. I will explore other options.

      posted in Cinema 4D SDK
      ymoonY
      ymoon
    • Python Tag plugin : Is it possible to disable(ghost) the host object's parameters?

      Hello Hi Dear....
      In a Python Tag plugin, is it possible to disable (ghost) the host object's parameters? GetDEnabling only allowed disabling the tag's own options.
      Is there a way to do this?
      ex) the tag disables some options of the Bend object.

      	def GetDEnabling(self, node, id, t_data, flags, itemdesc) : 
      
      		#disable --> DEFORMOBJECT_ALIGNMENT DEFORMOBJECT_FITTOPARENT DEFORMOBJECT_MODE
      
          def Execute(self, op, doc, host, bt, priority, flags):
              doc = c4d.documents.GetActiveDocument()
              bend = op.GetObject()
      
      

      Thank You....

      posted in Cinema 4D SDK python 2025
      ymoonY
      ymoon
    • RE: Python Tag: Detecting Edge Selection Changes

      Thanks, I'll test Dirty on selection.

      posted in Cinema 4D SDK
      ymoonY
      ymoon
    • Python Tag: Detecting Edge Selection Changes

      Can Python tag detect when an object's edge selection is being added or modified?

      So far, this is the only thing I've discovered: The detection only responds when a component is added or deleted.

      import c4d
      def main():
          pass
      def message(mid, data):
          if mid == c4d.MSG_POLYGONS_CHANGED: 
              print(f"somthing is happening: {mid}")
          return True
      
      posted in Cinema 4D SDK windows 2025 python
      ymoonY
      ymoon
    • RE: Force VertexMap display

      @ferdinand, Is it possible to VertexColor, WeightMap(character rig) in the same way?
      Some games use VertexColor, so marking can always be useful.
      I tried to convert your code to VertexColor, but I lack knowledge. Please help us.

      posted in Cinema 4D SDK
      ymoonY
      ymoon
    • RE: hud depth buffer?

      Added one more for... zip to remove the invisible points.

      posted in Cinema 4D SDK
      ymoonY
      ymoon
    • RE: hud depth buffer?

      @i_mazlov said in hud depth buffer?:

      As a workaround you might consider only drawing HUDs for those points that are exposed to the editor camera.

      Thanks for your answer. The code above is my limit.
      would you give me a hint? thank you.

      posted in Cinema 4D SDK
      ymoonY
      ymoon
    • RE: hud depth buffer?

      @i_mazlov
      Here is code. Thank You.

      def draw(bd: c4d.BaseDraw) -> bool:
          obj=op.GetObject()
          points = obj.GetAllPoints()
          objMg = obj.GetMg()
          newpointpos = []
          for o in points:
              newmg = objMg * o
              newpointpos.append(newmg)
          scrpos = []
          for p in points:
              newpos = bd.WS(p)
              scrpos.append(newpos)
          textval = []
          for i, pos in enumerate(zip(newpointpos, scrpos)):
              data = {"_txt":str(i), "_position":pos[1]}
              textval.append(data)
          bd.SetDepth(False)
          bd.DrawMultipleHUDText(textval)
          bd.SetDepth(True)
          return True
      
      posted in Cinema 4D SDK
      ymoonY
      ymoon
    • hud depth buffer?

      What is the correct code "HUD depth buffer" in R19 and R2023?
      As shown, in R2023 the HUD is not obscured by objects. (R19 is inverted)
      Thank You.

      bd.SetDepth(False)
      bd.DrawMultipleHUDText(data)
      bd.SetDepth(True)
      

      Depth.png

      posted in Cinema 4D SDK r19 2023 python
      ymoonY
      ymoon
    • RE: Object Opacity Animation by Python Tag

      @ferdinand
      Thank You for Reply

      posted in Cinema 4D SDK
      ymoonY
      ymoon