Jump to content

Eric Badros

Limited Member
  • Posts

    2
  • Joined

  • Last visited

Eric Badros's Achievements

Newbie

Newbie (1/14)

  • One Month Later
  • Week One Done
  • Dedicated Rare
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Thanks @Cairyn! That was it!! I appreciate your time and expertise!
  2. I'm having difficulty accessing any objects within my document. I've tried SearchObject, GetFirstObject, GetObjects and none of them have worked. I've got the BaseDocument...any advice anyone could provide? Here's some abbreviated code: import json import c4d import os from os.path import basename, splitext def main(): print("Running main") projectFilePath = "L:\\RnD\\dynamic_product_placement\\C4D\\CanTrack_v02_Cineware.c4d" try: doc = c4d.documents.LoadDocument(projectFilePath, c4d.SCENEFILTER_0) print(doc.GetDocumentName()) except: print("Failed to Open Project Path") print("where are you ", doc.GetFirstObject()) if __name__=="__main__": main() And then I get the following response: Running main CanTrack_v02_Cineware.c4d where are you None Thank you! Eric
×
×
  • Create New...

Copyright Core 4D © 2023 Powered by Invision Community