comet.idtype¶
The comet.idtype module provides factory functions for creating CIDType
objects aswell as helper functions for processing unbound ID values.
See also
- Class
CIDType
Instances of IDType objects
Methods¶
- comet.idtype.create(ID1, ID2=0, ID3=0, stringID='')¶
Create a new
CIDType
object from the provided values
- comet.idtype.getRecordID(stringID)¶
Get the RecordID part of a StringID.
- Returns:
StringID in the PublishingServer schema
- Return type:
- Raises:
TypeError – When parameter types are invalid
ValueError – When parameter stringID is empty
- Available:
InDesign® comet_pdf® Illustrator®
- See also:
- CScript:
- comet.idtype.getGroupID(stringID)¶
Get the GroupID part of a StringID.
- Returns:
StringID in the PublishingServer schema
- Return type:
- Raises:
TypeError – When parameter types are invalid
ValueError – When parameter stringID is empty
- Available:
InDesign® comet_pdf® Illustrator®
- See also:
- CScript:
- comet.idtype.getEntityID(stringID)¶
Get the EntityID part of a StringID.
- Returns:
StringID in the PublishingServer schema
- Return type:
- Raises:
TypeError – When parameter types are invalid
ValueError – When parameter stringID is empty
- Available:
InDesign® comet_pdf® Illustrator®
- See also:
- CScript:
- comet.idtype.getEntityClass(stringID)¶
Get the EntityClass part of a StringID.
- Returns:
StringID in the PublishingServer schema
- Return type:
- Raises:
TypeError – When parameter types are invalid
ValueError – When parameter stringID is empty
- Available:
InDesign® comet_pdf® Illustrator®
- See also:
- CScript:
- comet.idtype.getParentRecordID(stringID)¶
Get the Parent RecordID part of a StringID.
- Returns:
StringID in the PublishingServer schema
- Return type:
- Raises:
TypeError – When parameter types are invalid
ValueError – When parameter stringID is empty
- Available:
InDesign® comet_pdf® Illustrator®
- See also:
- CScript:
- comet.idtype.getParentGroupID(stringID)¶
Get the Parent GroupID part of a StringID.
- Returns:
StringID in the PublishingServer schema
- Return type:
- Raises:
TypeError – When parameter types are invalid
ValueError – When parameter stringID is empty
- Available:
InDesign® comet_pdf® Illustrator®
- See also:
- CScript:
- comet.idtype.getParentEntityID(stringID)¶
Get the Parent EntityID part of a StringID.
- Returns:
StringID in the PublishingServer schema
- Return type:
- Raises:
TypeError – When parameter types are invalid
ValueError – When parameter stringID is empty
- Available:
InDesign® comet_pdf® Illustrator®
- See also:
- CScript:
- comet.idtype.getParentEntityClass(stringID)¶
Get the Parent EntityClass part of a StringID.
- Returns:
StringID in the PublishingServer schema
- Return type:
- Raises:
TypeError – When parameter types are invalid
ValueError – When parameter stringID is empty
- Available:
InDesign® comet_pdf® Illustrator®
- See also:
- CScript: