Insulation Design Method

Lets you get the published status of Insulation layer.

GetLayerPublishStatus

Signature

Insulation_layer.GetLayerPublishStatus(ParentPrdOcc:ProductOccurrence): Integer

Arguments

Name Input / Output Required? Type
ParentPrdOccurrence Input Yes ProductOccurrence

ReturnType

Integer
  • 0: Not published
  • 1: Published
  • 2: Partially published

Example 1

Let LayerObj(InsLayer)
Let PrdOcc(ProductOccurrence)//select or retrieve ProductOccurrence where the selected Layer exists
Let PublishedStatus(Integer)
PublishedStatus = LayerObj.GetLayerPublishedStatus(prdOcc)