Jump to content

JimJamG

Regular Member
  • Content Count

    5
  • Joined

  • Last visited

Everything posted by JimJamG

  1. Hi all. Is there any reason why C4D doesn't have 'Plane' as part of the User Data types? By planes, I mean the drop-down option where you can chose between XY, YZ, XZ planes. Thanks, Jamie
  2. For anyone interested, I've resolved this now. I simply forgot to add the last line of code (oops). Here is the Python Generator code that does what I was trying to do: def main(): myParentNull = c4d.BaseObject(c4d.Onull) myDefObj = c4d.BaseObject(1021280) #1021280 = Squash And Stretch Deform Object myDefObj.InsertUnder(myParentNull) myFieldNull = c4d.BaseObject(c4d.Onull) myFieldNull.InsertUnder(myParentNull) myFieldObj = c4d.BaseObject(c4d.Flinear) myFieldObj.InsertUnder(myFieldNull) myFieldLayer = c4d.modules.mograph.FieldLayer(c4d.FLfield) myFiel
  3. Thanks Havealot. I asked on the MAXON site too, but as I'm new to Python I wasn't sure where would be the best place to ask. I do have someone there that is currently helping me (I need to use FieldLists and FieldLayers). I'm a little closer to solving the issue now with this code: def main(): myParentNull = c4d.BaseObject(c4d.Onull) myDefObj = c4d.BaseObject(1021280) #1021280 = Squash And Stretch Deform Object myDefObj.InsertUnder(myParentNull) myFieldNull = c4d.BaseObject(c4d.Onull) myFieldNull.InsertUnder(myParentNull) myFieldObj = c4d.BaseObject(c4d.Fl
  4. Hi all. I am new to python and I'm looking for help with assigning a field object to a deformer's falloff within a Python Generator. So for example I set up the objects like this: myParentNull = c4d.BaseObject(c4d.Onull) myFieldObj = c4d.BaseObject(c4d.Flinear) myModObj = c4d.BaseObject(1021280) #1021280 = Squash And Stretch Deform Object myFieldObj.InsertUnder(myParentNull) ... I then hoped that this would achieve what I was after, but it looks like this isn't the way to assign the field object (it doesn't work) myModObj[c4d.FIELDS] = myFieldObj Can anyone

ABOUT US

We are dedicated Cinema 4D Community of friendly and passionate artists, hobbyists and developers. Feel free to join us and share your knowledge, your art and anything that might help Community to grow. We are providing guidance, free plugins and files, feedback, sponsorships and various discounts for our Contributors. :cowboypistol:

SUPPORT

Tickets

Purchases

×
×
  • Create New...

Copyright C4D Cafe © 2020 Powered by Invision Community