Method CreateOccurrenceFromAnnotation
CreateOccurrenceFromAnnotation(uint, bool)
Convert a single annotation on an occurrence into an occurrence with mesh geometry
Declaration
[HandleProcessCorruptedStateExceptions]
public uint CreateOccurrenceFromAnnotation(uint annotation, bool convertVisibility = false)
Parameters
| Type | Name | Description | 
|---|---|---|
| uint | annotation | Annotation that shall be converted to an occurrence with mesh geometry  | 
    
| bool | convertVisibility | If True, the visibility will be converted (useful to select a specific view/variant), else all occurrences will be visible  | 
    
Returns
| Type | Description | 
|---|---|
| uint |