Anark Core SDK
Loading...
Searching...
No Matches
Anark.CoreSdkApi.Query Namespace Reference

Classes

interface  ISdkQueryExpression
 A query expression. More...
interface  ISdkQueryToken
 A query token. More...
class  SdkQueryExpression
class  SdkQueryToken

Enumerations

enum  SdkEntityType {
  Invalid , Workspace , Component , ComponentInstance ,
  ComponentOccurrence , Entity , Pmi , SupplementalGeometry ,
  View , Document , DocumentPage
}
 Entity types. More...
enum  SdkQueryOperator {
  Equals , GreaterThan , LessThan , StartsWith ,
  EndsWith , Contains , IsNull , RegularExpression
}
 Query operators. More...
enum  SdkQueryRelationship {
  Self , Parent , AllAncestors , AnyAncestor ,
  AllDescendants , AnyDescendant , AllChildren , AnyChild ,
  AllSiblings , AnySibling
}
 A search relationship - used to specify 3D hierarchy matching, for example. More...

Enumeration Type Documentation

◆ SdkEntityType

Entity types.

Enumerator
Invalid 

The invalid type.

Workspace 

The workspace type - this corresponds with the Anark Core Workspace where data can be added that is not necessarily associated with any particular component in the model.

Component 

The component type - parts and assemblies.

ComponentInstance 

Component instances at the 3D DAG level.

ComponentOccurrence 

An occurrence of a component.

Entity 

An occurrence of any 3D entity.

Pmi 

Annotations.

SupplementalGeometry 

Supplemental geometry such as reference planes.

View 

Product view captures.

Document 

A document, such as a PDF document.

DocumentPage 

A page of a document.

◆ SdkQueryOperator

Query operators.

Enumerator
Equals 

Specifies an exact match.

GreaterThan 

Specifies either a numeric or a lexical "greater than" comparison.

LessThan 

Specifies either a numeric or a lexical "less than" comparison.

StartsWith 

Specifies that matching values must start with the search text.

EndsWith 

Specifies that matching values must end with the search text.

Contains 

Specifies that matching values must contain the search text.

IsNull 

Specifies that matching values must be null. The search text is not used in this case.

RegularExpression 

Specifies that matching values must match the regular expression that is specified by the search text.

◆ SdkQueryRelationship

A search relationship - used to specify 3D hierarchy matching, for example.

Enumerator
Self 

Match the entity itself. This is most commonly used.

Parent 

Match the parent of the entity.

AllAncestors 

Match all ancestors of the entity.

AnyAncestor 

Match any ancestor of the entity.

AllDescendants 

Match all descendants of the entity.

AnyDescendant 

Match any descendants of the entity.

AllChildren 

Match all children of the entity.

AnyChild 

Match any child of the entity.

AllSiblings 

Match all siblings of the entity.

AnySibling 

Match any sibling of the entity.