view inkscape/MB_assignSymbol.inx @ 1333:3cbc1ab15541

Implement the function to create a link to a component. - It creates a svg:use for a component in the component list. - The svg:use node is inserted into current layer.
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 31 Jan 2011 18:19:23 +0800
parents 1d485bf96480
children
line wrap: on
line source

<inkscape-extension>
    <name>Convert to Symbol</name>
    <id>MadButterfly.ConvertSymbol</id>
	<dependency type="executable" location="extensions">AssignSymbol.py</dependency>
	<dependency type="executable" location="extensions">inkex.py</dependency>
    <effect>
		<object-type>group</object-type>
		<effects-menu>
			<submenu _name="MadButterfly"/>
		</effects-menu>
    </effect>
    <script>
        <command reldir="extensions" interpreter="python">AssignSymbol.py</command>
    </script>
</inkscape-extension>