MicroStation PowerDraft CONNECT Edition Help

Sharing Named Expressions

Use the Import and Export controls in the Named Expressions dialog to share named expressions among projects.

The interchange format is XML structured as follows:

<NamedExpressions>
	<Expressions>
		<NamedExpression>
			<Name>name</Name>
			<Label>label</Label>
			<Description>description</Description>
			<Expression>expression</Expression>
			<RequiredSymbolSets>
				<SymbolSet>symbol_set_1</SymbolSet>
					...
				<SymbolSet>symbol_set_n</SymbolSet>
			</RequiredSymbolSets>
			<Keywords>
				<Keyword>keyword_1</Keyword>
					...
				<Keyword>keyword_n</Keyword>
				<Keyword>UserInterface</Keyword>
			</Keywords>
		</NamedExpression>
		.
		Each additional named expression is defined in
its own <NamedExpression> element.
		.
	</Expressions>
	<Keywords>
		<Keyword>
			<Name>keyword</Name>
			<Label>keyword_label</Label>
			<Description>keyword_description</Description>
			<IconName>keyword_icon</IconName>
		</Keyword>
		.
		Each additional application keyword is defined
in its own <Keyword> element.
		.
	</Keywords>
</NamedExpressions>

The <Keywords> element specifies the application keywords in the DGN library.

Tip: XML is a plain text format so you can create or modify named expressions directly in XML.