Categorie: reference Bijgewerkt: 2026-04-08 actionfield workflow actionfield1208

ActionField1208

Beschrijving: Update the CadLayers in the database by retrieving a list of all unique (by uppercased name) CAD layers from a single CAD document. Custom: Nee

Propertiesbewerken

Property Type Accessor
CadDocument Document Root

XMLbewerken

<Workflow Name="ActionField1208" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Update the CadLayers in the database by retrieving a list of all unique (by uppercased name) CAD layers from a single CAD document.</Description>
	<Properties>
		<Property	Name="CadDocument"					Type="Document"			Accessor="Root"		Direction="In" />

		<Property	Name="NewUniqueLayers"				Type="List[CadLayer]"	Accessor="Internal" />
		<Property	Name="NumberOfUniqueLayersFound"	Type="Int32"			Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Command Name="Update CAD layers in the database" CommandName="CadDocument_UpdateLayersInDatabase">
				<Parameter	Name="CadDocument"					Direction="In"		Value="${CadDocument}" />
				<Parameter	Name="NewUniqueLayers"				Direction="Out"								OutputProperty="${NewUniqueLayers}" />
				<Parameter	Name="NumberOfUniqueLayersFound"	Direction="Out"								OutputProperty="${NumberOfUniqueLayersFound}" />
			</Command>
		</Transaction>

		<Message Name="MessageImportSuccessful" MessageCode="2495">
			<Parameter	Name="NumberOfNewUniqueLayersFound"	Direction="In"		Value="${NewUniqueLayers.Count}" />
			<Parameter	Name="NumberOfUniqueLayersFound"	Direction="In"		Value="${NumberOfUniqueLayersFound}" />
		</Message>

		<UserContent Name="Post" />
	</Execution>
</Workflow>