c4d.modules.net

Follow me to the Inheritance diagramm.

New in version R15.037.

Functions

c4d.modules.net.SetErrorLevel(printDebugErrors, stackInErrors, locationInErrors)

New in version R16.038.

Sets the level for stack and location in errors.

Parameters:
  • printDebugErrors (bool) –

    New in version R16.050.

    True to print debug errors, otherwise False.

  • stackInErrors (bool) – True to enable stack in errors, otherwise False.
  • locationInErrors (bool) – True to enable location in errors, otherwise False.
c4d.modules.net.GetGlobalNetRenderService()

Get the global NET render service.

Return type:c4d.modules.net.NetRenderService
Returns:The global NET render service.
c4d.modules.net.VerificationStateToString(state)

Format a verification state as a string.

Parameters:state (int) –

The verification state:

VERIFICATIONBIT_0 None.
VERIFICATIONBIT_ONLINE Online.
VERIFICATIONBIT_VERIFIED Verified.
VERIFICATIONBIT_VERIFIEDME Verified me.
VERIFICATIONBIT_SHARED Shared.
VERIFICATIONBIT_VERIFYING Verifying.
VERIFICATIONBIT_UNKNOWN Unknown.
VERIFICATIONBIT_FAILED Failed.
VERIFICATIONBIT_SECURITYTOKENCHANGED Security token changed.
VERIFICATIONBIT_WRONGBUILDID Wrong build ID.
VERIFICATIONBIT_WRONGARCHITECTURE Wrong architecture.
VERIFICATIONBIT_REMOTENOTREACHABLE Remote not reachable.
VERIFICATIONBIT_THISNOTREACHABLE This not reachable.
VERIFICATIONBIT_WRONGSECURITYTOKEN Wrong security token.
VERIFICATIONBIT_DEMONOTACTIVATED Demo not activated.
VERIFICATIONBIT_REMOVING Removing.
VERIFICATIONBIT_NORENDERSUPPORT No render support.
Return type:str
Returns:The formatted verification state.
c4d.modules.net.JobCommandToString(command)

Format a job command as a string.

Parameters:command (int) –

The job command:

JOBCOMMAND_NONE None.
JOBCOMMAND_FETCHJOB Fetch job.
JOBCOMMAND_ALLOCATESPACE Allocate space.
JOBCOMMAND_DOWNLOAD Download.
JOBCOMMAND_RENDER Render.
JOBCOMMAND_DELETE Delete.
JOBCOMMAND_STOPANDDELETE Stop and delete.
JOBCOMMAND_ASSEMBLE Assemble.
JOBCOMMAND_END End.
Return type:str
Returns:The formatted job command.
c4d.modules.net.JobStateToString(state)

New in version R16.021.

Format a job state as a string.

Parameters:command (int) –

The job state:

JOBSTATE_IDLE Idle.
JOBSTATE_PREPARING_RUNNING Preparing running. (Only for server in async mode for NetRenderService.StartRendering().)
JOBSTATE_PREPARING_FAILED Preparing failed. (Only for server in async mode for NetRenderService.StartRendering().)
JOBSTATE_PREPARING_OK Preparing ok. (Only for server in async mode for NetRenderService.StartRendering().)
JOBSTATE_RENDER_RUNNING Render running.
JOBSTATE_RENDER_OK Render ok.
JOBSTATE_RENDER_FAILED Render failed.
JOBSTATE_ALLOCATESPACE_RUNNING Allocate space running.
JOBSTATE_ALLOCATESPACE_OK Allocate space ok.
JOBSTATE_ALLOCATESPACE_FAILED Allocated space failed.
JOBSTATE_DOWNLOAD_RUNNING Download running.
JOBSTATE_DOWNLOAD_OK Download ok.
JOBSTATE_DOWNLOAD_FAILED Download failed.
JOBSTATE_ASSEMBLE_RUNNING Assemble running.
JOBSTATE_ASSEMBLE_OK Assemble ok.
JOBSTATE_ASSEMBLE_FAILED Assemble failed.
JOBSTATE_STOPPED Stopped.
JOBSTATE_QUEUED Queued.
Return type:str
Returns:The formatted job state.
c4d.modules.net.NetSpecialEventAdd(service, remoteUuid, msg[, forceConnect=True])

New in version R16.021.

Adds a custom event over NET.

Parameters:
Return type:

bool

Returns:

True if successful, otherwise False.

c4d.modules.net.NetGeSyncMessage(service, remoteUuid, msg[, forceConnect=True])

New in version R16.021.

Sends a synchronous event message over NET.

Parameters:
Return type:

tuple(bool, BaseContainer)

Returns:

The successful status and result container.