Jump to content

Juanf

Limited Member
  • Posts

    45
  • Joined

  • Last visited

Everything posted by Juanf

  1. Thank you so much for your time, really appreciated. Cheers, Juan
  2. That's excellent, thank you so much. Now the camera is in the right place, but the null is not created in the center of the viewport so the camera is facing to origin. I'm really sorry for bugging you with this, I think I should try again to learn python. I have tried three times already and I always give up, coding is not my thing. Cheers, Juan
  3. Yeah you are right is just I'm reaaaaaaaaaaaally bad at coding or scripting, that's why I use only call commands Thank you so much for taking time to reply and sharing your script, the only problem I found is that the new created camera is in P 0,0,0 and R 0,-90,0 and I as trying to create the camera exactly where I'm looking at in the viewport, as it works in my call command thingy. Cheers, Juan
  4. Hi all, I did a small script on Python R20 where a camera is added to the scene with a target tag and a null, but what I can't find is a way to add the null to the target tag, could I get some assistance please? Here is the script: import c4d #Welcome to the world of Python def main(): def tool(): return c4d.plugins.FindPlugin(doc.GetAction(), c4d.PLUGINTYPE_TOOL) def object(): return doc.GetActiveObject() def tag(): return doc.GetActiveTag() def renderdata(): return doc.GetActiveRenderData() def prefs(id): return c4d.plugins.FindPlugin(id, c4d.PLUGINTYPE_PREFS) c4d.CallCommand(5103) # Camera c4d.CallCommand(100004788, 50026) # New Tag object()[c4d.CAMERAOBJECT_USETARGETOBJECT] = True c4d.CallCommand(55000, 2) # Use Camera prefs(465001620)[c4d.PREF_INTERFACE_CENTEROBJECT] = True c4d.CallCommand(5140) # Null prefs(465001620)[c4d.PREF_INTERFACE_CENTEROBJECT] = False c4d.TARGETEXPRESSIONTAG_LINK if __name__=='__main__': main() c4d.EventAdd() Cheers, Juan
  5. The latest update fixed the problem, thank you. Cheers, Juan
  6. Hi Daniel, I have experienced a weird "bug", I added a command from CV but when I restarted C4D the icon has disappeared although the function is there and it works if I click on the empty space. I'm on Win 10 and R19. Cheers, Juan
  7. Fantastic, congrats for the release. In the registered version, can we add and remove entries as well the icon size? Cheers, Juan
  8. The beta version had expiration date? If it so, please make the release version, it is a great tool. Cheers, Juan
×
×
  • Create New...

Copyright Core 4D © 2023 Powered by Invision Community