PathScripts.PathJob Namespace Reference

Classes

class  JobTemplate
 
class  NotificationClass
 
class  ObjectJob
 

Functions

def Create (name, base, templateFile=None)
 
def createModelResourceClone (obj, orig)
 
def createResourceClone (obj, orig, name, icon)
 
def Instances ()
 
def isResourceClone (obj, propLink, resourceName)
 

Variables

 Draft = LazyLoader("Draft", globals(), "Draft")
 
 Notification = NotificationClass()
 
 translate = FreeCAD.Qt.translate
 

Function Documentation

◆ Create()

def PathScripts.PathJob.Create (   name,
  base,
  templateFile = None 
)
Create(name, base, templateFile=None) ... creates a new job and all it's resources.
If a template file is specified the new job is initialized with the values from the template.

◆ createModelResourceClone()

def PathScripts.PathJob.createModelResourceClone (   obj,
  orig 
)

◆ createResourceClone()

def PathScripts.PathJob.createResourceClone (   obj,
  orig,
  name,
  icon 
)

◆ Instances()

def PathScripts.PathJob.Instances ( )
Instances() ... Return all Jobs in the current active document.

◆ isResourceClone()

def PathScripts.PathJob.isResourceClone (   obj,
  propLink,
  resourceName 
)

Variable Documentation

◆ Draft

PathScripts.PathJob.Draft = LazyLoader("Draft", globals(), "Draft")

◆ Notification

PathScripts.PathJob.Notification = NotificationClass()

◆ translate

PathScripts.PathJob.translate = FreeCAD.Qt.translate