<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Thema "Betreff: ExportParameter in iLogic löschen" in Inventor - Deutsches Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8352514#M17688</link>
    <description>&lt;P&gt;Okay, habs anders gemacht..ohne den blöden Parameter.. man ist ja rum probier fähig.&lt;/P&gt;&lt;P&gt;Pogramm im Anhang tut jetzt. Falls irgendwer das gebrauchen kann. Leider habe ich (noch) nicht herausgefunden wie ich diesen blöden Parameter gelöscht bekomme.&lt;/P&gt;&lt;P&gt;Auszug:&lt;/P&gt;&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Integer&lt;/SPAN&gt;																								&lt;SPAN style="color: #808080;"&gt;'create an integer variable for exporting the selection to a drawing document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt;																										&lt;SPAN style="color: #808080;"&gt;'create a string for putting the selected "text" into&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;InputListBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Wählen Sie ein Schweißverfahren"&lt;/SPAN&gt;, &lt;SPAN style="color: #800080;"&gt;MultiValue&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;List&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"welding_type_list"&lt;/SPAN&gt;), 000, &lt;SPAN style="color: #800000;"&gt;Title&lt;/SPAN&gt; := &lt;SPAN style="color: #008080;"&gt;"Schweißverfahrenauswahl"&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"Keine Angabe"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 000
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"111 - Lichbogenhandschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 111
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"131 - MIG Metall-Inert-Gasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 131
			&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"135 - MAG Metall-Aktiv-Gasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 135
				&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"141 - WIG Wolfram-Inert-Gasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 141
					&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"142 - WIG schweißen ohne Schweißzusatz"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 142
						&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"143 - WIG schweißen mit Füllschweißzusatz"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 143
							&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"151 - Plasma-Metall-Schutzgasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 151
								&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"311 - Gasschweißen mit Sauerstoff-Acetylen-Flamme"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 311
									&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"312 - Gasschweißen mit Sauerstoff-Propan-Flamme"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 312
																			

&lt;SPAN style="color: #808080;"&gt;'Welding_type_value = oUserParameterlocation.AddByValue("Welding_type_value", Welding_type_value_Integer, UnitsTypeEnum.kUnitlessUnits)	'create the parameter Welding_type_value in the document &amp;lt;- not good, can't delete it again in iLogic ?&lt;/SPAN&gt;

&lt;SPAN style="color: #800080;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Value&lt;/SPAN&gt; (&lt;SPAN style="color: #008080;"&gt;"Custom"&lt;/SPAN&gt;,&lt;SPAN style="color: #008080;"&gt;"Welding_type_value"&lt;/SPAN&gt;) = &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt;															&lt;SPAN style="color: #808080;"&gt;'put the value into the iproperties for export , will overwrite older values&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Welding_type_value.ExposedAsProperty = True 											'set the exported parameter button for the parameter Welding_type_value =&amp;gt; creates a custum iProperties text parameter with the value as text =&amp;gt; BULL****&lt;/SPAN&gt;
&lt;SPAN style="color: #800080;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Custom"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Welding_type_selected"&lt;/SPAN&gt;) = &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt;															&lt;SPAN style="color: #808080;"&gt;'put the text into the iproperties for export , will overwrite older values &lt;/SPAN&gt;


&lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;UpdateAfterChange&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt; 
&lt;SPAN style="color: #800080;"&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;UpdateWhenDone&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Exit&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 Oct 2018 09:34:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-23T09:34:49Z</dc:date>
    <item>
      <title>ExportParameter in iLogic löschen</title>
      <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8352006#M17686</link>
      <description>&lt;P&gt;Hallo, das Greenhorn meldet sich wieder.&lt;/P&gt;&lt;P&gt;Diesmal habe ich ein Problem in Zeie 56. Der Parameter wird nicht gelöscht. Der Fehler liegt warscheinlich darin das er noch "in Benutztung" ist. Vermutlich muss ich ihn erst umdefinieren ... aber wie ? (Versuch in Zeile 54 funktioniert nicht).&lt;/P&gt;&lt;P&gt;Danke schon mal fürs Ankucken!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. So sieht der Code eines Handwerkers aus der vor 30 Jahren auf dem C64 mit Basic rummachte...Hoffentlich kann hier einer Schmunzeln&lt;/P&gt;&lt;P&gt;P.P.S. Kann die Datei nich mit der Endung .iLogicVb hochladen .. deshalb als Text hier:&lt;/P&gt;&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&lt;/SPAN&gt;()
&lt;SPAN style="color: #808080;"&gt;'Fehler in offener Datei abfragen:&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;On&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Error&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;GoTo&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Errorending&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;'Falls Fehler auftreten gehe zur Fehlerbehandlung&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Documents&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; = 0 &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;         &lt;SPAN style="color: #808080;"&gt;'Fehlerabfrage keine Datei offen&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt; (&lt;SPAN style="color: #008080;"&gt;"Es ist keine Datei geöffnet. So passiert nix!"&lt;/SPAN&gt;)
    &lt;SPAN style="color: #ff0000;"&gt;Exit&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;openDocu&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;openDocu&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;														&lt;SPAN style="color: #808080;"&gt;'define Welding_type_value&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;odoctypepara&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt; 															&lt;SPAN style="color: #808080;"&gt;'variable for the part of the path to the user parameterlocation that is dependent on document type&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;openDocu&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartDocumentObject&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;			&lt;SPAN style="color: #808080;"&gt;'set the odoctypepara variable to oPartCompDef if a part file is open&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPartDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;openDocu&lt;/SPAN&gt;												
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oPartCompDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oPartDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;odoctypepara&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oPartCompDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;												&lt;SPAN style="color: #808080;"&gt;'set the variable to the correct type&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;ElseIf&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;openDocu&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt;=&lt;SPAN style="color: #800000;"&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kAssemblyDocumentObject&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;		&lt;SPAN style="color: #808080;"&gt;'set the odoctypepara variable to oAssCompDef if an assembly file is open&lt;/SPAN&gt;
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAssdoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;openDocu&lt;/SPAN&gt;											
    &lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAssCompDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyComponentDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAssdoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;
    &lt;SPAN style="color: #800000;"&gt;odoctypepara&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAssCompDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Parameters&lt;/SPAN&gt;												&lt;SPAN style="color: #808080;"&gt;'set the variable to the correct type&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oUserParameterlocation&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt; 
&lt;SPAN style="color: #800000;"&gt;oUserParameterlocation&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;odoctypepara&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;UserParameters&lt;/SPAN&gt;							&lt;SPAN style="color: #808080;"&gt;'setting the path for the userparameters together and putting the whole path for the user parameters location into the variable UserParameters&lt;/SPAN&gt;

&lt;SPAN style="color: #808080;"&gt;'See if the variables allready excist and if so delete them&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;On&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Error&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Resume&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_list_OLD&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;											&lt;SPAN style="color: #808080;"&gt;'create a checking variable&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;welding_type_list_OLD&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oUserParameterlocation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"welding_type_list"&lt;/SPAN&gt;)		&lt;SPAN style="color: #808080;"&gt;'see if filling checking variable creates an error&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Err&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Number&lt;/SPAN&gt; &amp;lt;&amp;gt; 0 &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;															&lt;SPAN style="color: #808080;"&gt;'is there an error ?&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;GoTo&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;seeifvalueexsists&lt;/SPAN&gt;													&lt;SPAN style="color: #808080;"&gt;'if error then there is no welding_type_list so go check welding_type_value&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;Err&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;																		&lt;SPAN style="color: #808080;"&gt;'on no error delete welding_type_list&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;welding_type_list_OLD&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oUserParameterlocation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"welding_type_list"&lt;/SPAN&gt;)
		&lt;SPAN style="color: #800000;"&gt;welding_type_list_OLD&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Delete&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;

&lt;SPAN style="color: #800000;"&gt;seeifvalueexsists&lt;/SPAN&gt; :

&lt;SPAN style="color: #ff0000;"&gt;On&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Error&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Resume&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_value_OLD&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;											&lt;SPAN style="color: #808080;"&gt;'create a checking variable&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;welding_type_value_OLD&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oUserParameterlocation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"welding_type_value"&lt;/SPAN&gt;)		&lt;SPAN style="color: #808080;"&gt;'see if filling checking variable creates an error&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Err&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Number&lt;/SPAN&gt; &amp;lt;&amp;gt; 0 &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt;															&lt;SPAN style="color: #808080;"&gt;'is there an error ?&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;GoTo&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;GoOnToGetNewParameters&lt;/SPAN&gt;												&lt;SPAN style="color: #808080;"&gt;'if error then there is no welding_type_list so go to new input of welding_type_value&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;Err&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Clear&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;																		&lt;SPAN style="color: #808080;"&gt;'on no error delete welding_type_list&lt;/SPAN&gt;
		&lt;SPAN style="color: #808080;"&gt;'Welding_type_value.ExposedAsProperty = False							'make the variable deletable -- doesn't work&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;welding_type_value_OLD&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oUserParameterlocation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"welding_type_value"&lt;/SPAN&gt;)
		&lt;SPAN style="color: #800000;"&gt;welding_type_value_OLD&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Delete&lt;/SPAN&gt;										&lt;SPAN style="color: #808080;"&gt;'&amp;lt;---------------------------no function ?!?!?!?!?!!?!?!?!???!?&lt;/SPAN&gt;
		&lt;SPAN style="color: #808080;"&gt;'iLogicVb.Automation.Deleteparam(openDocu,welding_type_value)  	  &amp;lt;--- doesn't work either :-(&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;

&lt;SPAN style="color: #800000;"&gt;GoOnToGetNewParameters&lt;/SPAN&gt;:
&lt;SPAN style="color: #800000;"&gt;openDocu&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Update&lt;/SPAN&gt;																	&lt;SPAN style="color: #808080;"&gt;'write the deletes&lt;/SPAN&gt;

&lt;SPAN style="color: #800000;"&gt;welding_type_list&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oUserParameterlocation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddByValue&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"welding_type_list"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;""&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;UnitsTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kTextUnits&lt;/SPAN&gt;)   &lt;SPAN style="color: #808080;"&gt;' create the parameter welding_type_list in the document &lt;/SPAN&gt;

&lt;SPAN style="color: #808080;"&gt;' fill the created welding_type_list with the different welding typs &lt;/SPAN&gt;
&lt;SPAN style="color: #800080;"&gt;MultiValue&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;SetList&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"welding_type_list"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"000 - Keines"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"111 - Lichbogenhandschweißen"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"131 - MIG Metall-Inert-Gasschweißen"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"135 - MAG Metall-Aktiv-Gasschweißen"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"141 - WIG Wolfram-Inert-Gasschweißen"&lt;/SPAN&gt;, _
&lt;SPAN style="color: #008080;"&gt;"142 - WIG schweißen ohne Schweißzusatz"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"143 - WIG schweißen mit Füllschweißzusatz"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"151 - Plasma-Metall-Schutzgasschweißen"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"311 - Gasschweißen mit Sauerstoff-Acetylen-Flamme"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"312 - Gasschweißen mit Sauerstoff-Propan-Flamme"&lt;/SPAN&gt;) 

&lt;SPAN style="color: #808080;"&gt;'let the person calling the function choose a weldingtype:&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Integer&lt;/SPAN&gt;										&lt;SPAN style="color: #808080;"&gt;'create an integer variable for exporting the selection to a drawing document&lt;/SPAN&gt;

&lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;InputListBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Wählen Sie ein Schweißverfahren"&lt;/SPAN&gt;, &lt;SPAN style="color: #800080;"&gt;MultiValue&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;List&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"welding_type_list"&lt;/SPAN&gt;), 000, &lt;SPAN style="color: #800000;"&gt;Title&lt;/SPAN&gt; := &lt;SPAN style="color: #008080;"&gt;"Schweißverfahrenauswahl"&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"000 - Keines"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 000
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"111 - Lichbogenhandschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 111
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"131 - MIG Metall-Inert-Gasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 131
			&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"135 - MAG Metall-Aktiv-Gasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 135
				&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"141 - WIG Wolfram-Inert-Gasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 141
					&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"142 - WIG schweißen ohne Schweißzusatz"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 142
						&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"143 - WIG schweißen mit Füllschweißzusatz"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 143
							&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"151 - Plasma-Metall-Schutzgasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 151
								&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"311 - Gasschweißen mit Sauerstoff-Acetylen-Flamme"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 311
									&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"312 - Gasschweißen mit Sauerstoff-Propan-Flamme"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 312
																			

&lt;SPAN style="color: #800000;"&gt;Welding_type_value&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oUserParameterlocation&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AddByValue&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Welding_type_value"&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;UnitsTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kUnitlessUnits&lt;/SPAN&gt;)	&lt;SPAN style="color: #808080;"&gt;'create the parameter Welding_type_value in the document&lt;/SPAN&gt;

&lt;SPAN style="color: #800000;"&gt;Welding_type_value&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ExposedAsProperty&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt; 																							&lt;SPAN style="color: #808080;"&gt;'set the exported parameter button for the parameter Welding_type_value&lt;/SPAN&gt;

&lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;UpdateAfterChange&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt; 
&lt;SPAN style="color: #800080;"&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;UpdateWhenDone&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Exit&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;

&lt;SPAN style="color: #800000;"&gt;Errorending&lt;/SPAN&gt; :
&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt; (&lt;SPAN style="color: #008080;"&gt;"Error somewhere somtime =&amp;gt; Ending"&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;vbCr&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;Err&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Description&lt;/SPAN&gt;) &lt;SPAN style="color: #808080;"&gt;'Der UPS ein Fehler Text&lt;/SPAN&gt;
&lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SilentOperation&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt; &lt;SPAN style="color: #808080;"&gt;'Inventor darf wieder Dialoge anzeigen&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Oct 2018 05:36:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8352006#M17686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-23T05:36:55Z</dc:date>
    </item>
    <item>
      <title>Betreff: ExportParameter in iLogic löschen</title>
      <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8352134#M17687</link>
      <description>&lt;P&gt;Okay, Noob error: Verwende .zip !&lt;/P&gt;&lt;P&gt;Hier also die Datei als zip, Danke&lt;SPAN class="UserName lia-user-name lia-user-rank-Mentor lia-component-message-view-widget-author-username"&gt; &lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3728474" target="_self"&gt;&lt;SPAN class="login-bold"&gt;S_May&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;für den Hinweis&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 06:40:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8352134#M17687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-23T06:40:16Z</dc:date>
    </item>
    <item>
      <title>Betreff: ExportParameter in iLogic löschen</title>
      <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8352514#M17688</link>
      <description>&lt;P&gt;Okay, habs anders gemacht..ohne den blöden Parameter.. man ist ja rum probier fähig.&lt;/P&gt;&lt;P&gt;Pogramm im Anhang tut jetzt. Falls irgendwer das gebrauchen kann. Leider habe ich (noch) nicht herausgefunden wie ich diesen blöden Parameter gelöscht bekomme.&lt;/P&gt;&lt;P&gt;Auszug:&lt;/P&gt;&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Integer&lt;/SPAN&gt;																								&lt;SPAN style="color: #808080;"&gt;'create an integer variable for exporting the selection to a drawing document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt;																										&lt;SPAN style="color: #808080;"&gt;'create a string for putting the selected "text" into&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;InputListBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Wählen Sie ein Schweißverfahren"&lt;/SPAN&gt;, &lt;SPAN style="color: #800080;"&gt;MultiValue&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;List&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"welding_type_list"&lt;/SPAN&gt;), 000, &lt;SPAN style="color: #800000;"&gt;Title&lt;/SPAN&gt; := &lt;SPAN style="color: #008080;"&gt;"Schweißverfahrenauswahl"&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"Keine Angabe"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 000
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"111 - Lichbogenhandschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 111
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"131 - MIG Metall-Inert-Gasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 131
			&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"135 - MAG Metall-Aktiv-Gasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 135
				&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"141 - WIG Wolfram-Inert-Gasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 141
					&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"142 - WIG schweißen ohne Schweißzusatz"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 142
						&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"143 - WIG schweißen mit Füllschweißzusatz"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 143
							&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"151 - Plasma-Metall-Schutzgasschweißen"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 151
								&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"311 - Gasschweißen mit Sauerstoff-Acetylen-Flamme"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 311
									&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"312 - Gasschweißen mit Sauerstoff-Propan-Flamme"&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt; = 312
																			

&lt;SPAN style="color: #808080;"&gt;'Welding_type_value = oUserParameterlocation.AddByValue("Welding_type_value", Welding_type_value_Integer, UnitsTypeEnum.kUnitlessUnits)	'create the parameter Welding_type_value in the document &amp;lt;- not good, can't delete it again in iLogic ?&lt;/SPAN&gt;

&lt;SPAN style="color: #800080;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Value&lt;/SPAN&gt; (&lt;SPAN style="color: #008080;"&gt;"Custom"&lt;/SPAN&gt;,&lt;SPAN style="color: #008080;"&gt;"Welding_type_value"&lt;/SPAN&gt;) = &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;/SPAN&gt;															&lt;SPAN style="color: #808080;"&gt;'put the value into the iproperties for export , will overwrite older values&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Welding_type_value.ExposedAsProperty = True 											'set the exported parameter button for the parameter Welding_type_value =&amp;gt; creates a custum iProperties text parameter with the value as text =&amp;gt; BULL****&lt;/SPAN&gt;
&lt;SPAN style="color: #800080;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Custom"&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Welding_type_selected"&lt;/SPAN&gt;) = &lt;SPAN style="color: #800000;"&gt;welding_type_selected&lt;/SPAN&gt;															&lt;SPAN style="color: #808080;"&gt;'put the text into the iproperties for export , will overwrite older values &lt;/SPAN&gt;


&lt;SPAN style="color: #800080;"&gt;Parameter&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;UpdateAfterChange&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt; 
&lt;SPAN style="color: #800080;"&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;UpdateWhenDone&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;Exit&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Oct 2018 09:34:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8352514#M17688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-23T09:34:49Z</dc:date>
    </item>
    <item>
      <title>Betreff: ExportParameter in iLogic löschen</title>
      <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8352549#M17689</link>
      <description>&lt;P&gt;Hallo @Anonymous&lt;/P&gt;
&lt;P&gt;grundsätzliche Anmerkungen:&lt;/P&gt;
&lt;P&gt;Zur Fehlerbehandlung solltest du dich mal mit dem Try , Catch , End Try Block beschäftigen. Das ist eine gute (bessere) Methode um Fehler abzufangen. Darüber hinaus empfehle ich dir auch mal den VBA Makro Editor. Da kann man das Verhalten des Programms wesentlich besser nachvollziehen und Fehler finden. VBA Code ist dann schnell in iLogic umgeschrieben.&lt;/P&gt;
&lt;P&gt;Grüße Martin&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 09:46:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8352549#M17689</guid>
      <dc:creator>Martin-Winkler-Consulting</dc:creator>
      <dc:date>2018-10-23T09:46:05Z</dc:date>
    </item>
    <item>
      <title>Betreff: ExportParameter in iLogic löschen</title>
      <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8352713#M17690</link>
      <description>&lt;P&gt;Jup, danke für die Hilfestellung. Try-Catch hab ich schon mal ausprobiert.. bin da nur nicht so ganz Firm wie mit dem "alten" if then ...und als VBA Code editor ist scheints der Visual Studio Code nicht schlecht...ich kuck da auch schon mal rein.&lt;/P&gt;&lt;P&gt;Im Augenblick will ich ja "nur" die Eingaben/Angaben für den Zeichnungskopf automatisieren. So ein wenig wildes herumprobieren und es tut (irgendwie).&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 10:55:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8352713#M17690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-23T10:55:11Z</dc:date>
    </item>
    <item>
      <title>Betreff: ExportParameter in iLogic löschen</title>
      <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8355239#M17691</link>
      <description>&lt;P&gt;Hallo&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ich habe mir mal den Teil der Regel aus Deinem zweiten Post angesehen. Also ich habe keine Probleme, den Parameter hinterher zu löschen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Den&amp;nbsp;Code habe ich etwas abgeändert und ein paar Fehlerabfragen eingebaut. Das ist sicher noch ausbaufähig, scheint aber zunächst stabil zu funktionieren.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim Welding_type_value_Integer As Integer																								'create an integer variable for exporting the selection to a drawing document
Dim welding_type_selected As String																										'create a string for putting the selected "text" into

'retrieve list from parameter
Try
	welding_type_selected = InputListBox("Wählen Sie ein Schweißverfahren", MultiValue.List("welding_type_list"), 000, Title := "Schweißverfahrenauswahl")
Catch
	MessageBox.Show("Fehler beim Abrufen der Parameter in die Auswahlliste!", "Fehlerbehandlung")
	Exit Sub
End Try

Select Case welding_type_selected
	
	Case "Keine Angabe"
		Welding_type_value_Integer = 000
		
	Case "111 - Lichbogenhandschweißen"
		Welding_type_value_Integer = 111
		
	Case "131 - MIG Metall-Inert-Gasschweißen"
		Welding_type_value_Integer = 131
		
	Case "135 - MAG Metall-Aktiv-Gasschweißen"
		Welding_type_value_Integer = 135
		
	Case "141 - WIG Wolfram-Inert-Gasschweißen"
		Welding_type_value_Integer = 141
	
	Case "142 - WIG schweißen ohne Schweißzusatz"
		Welding_type_value_Integer = 142
		
	Case "143 - WIG schweißen mit Füllschweißzusatz"
		Welding_type_value_Integer = 143
		
	Case "151 - Plasma-Metall-Schutzgasschweißen"
		Welding_type_value_Integer = 151
	
	Case "311 - Gasschweißen mit Sauerstoff-Acetylen-Flamme"
		Welding_type_value_Integer = 311
		
	Case "312 - Gasschweißen mit Sauerstoff-Propan-Flamme"
		Welding_type_value_Integer = 312
	
	Case Else
			MessageBox.Show("Ungültiger Typ wurde ausgewählt! Parameter-Liste prüfen!", "Fehlerbehandlung")
			Exit Sub

End Select

'Try to set a value to parameter if it fails, create a parameter
Try
	Parameter("Welding_type_value") = Welding_type_value_Integer
Catch
	Dim p As Inventor.Parameter
	p = ThisDoc.Document.ComponentDefinition.Parameters.UserParameters.AddByValue("Welding_type_value", Welding_type_value_Integer, UnitsTypeEnum.kUnitlessUnits)
	p.ExposedAsProperty = True
	p.CustomPropertyFormat.PropertyType = Inventor.CustomPropertyTypeEnum.kNumberPropertyType
	p.CustomPropertyFormat.Precision = Inventor.CustomPropertyPrecisionEnum.kZeroDecimalPlacePrecision
	
End Try

If MessageBox.Show("Parameter Welding_type_value jetzt löschen?", "NUR ZUM TESTEN!", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = DialogResult.Yes Then

	Try
		ThisDoc.Document.ComponentDefinition.Parameters.UserParameters.Item("Welding_type_value").Delete
		MessageBox.Show("Parameter gelöscht.", "Title")

	Catch
		MessageBox.Show("Parameter konnte nicht gelöscht werden", "Fehlerbehandlung")
	End Try

End If

'Welding_type_value = oUserParameterlocation.AddByValue("Welding_type_value", Welding_type_value_Integer, UnitsTypeEnum.kUnitlessUnits)	'create the parameter Welding_type_value in the document &amp;lt;- not good, can't delete it again in iLogic ?

'iProperties.Value ("Custom","Welding_type_value") = Welding_type_value_Integer															'put the value into the iproperties for export , will overwrite older values
'Welding_type_value.ExposedAsProperty = True 											'set the exported parameter button for the parameter Welding_type_value =&amp;gt; creates a custum iProperties text parameter with the value as text =&amp;gt; BULL****
'iProperties.Value("Custom", "Welding_type_selected") = welding_type_selected															'put the text into the iproperties for export , will overwrite older values 


Parameter.UpdateAfterChange = True 
iLogicVb.UpdateWhenDone = True

Exit Sub&lt;/PRE&gt;
&lt;P&gt;Dem Parameter habe ich auch eine Bentzerdefiniertes Format verpasst, so dass das iProperty hinterher eine Nummer ist ohne Nachkommastellen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/561218i94CD451524D6C0D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 448px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/561219iDA178EAF8033495A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Die Baugruppe hängt im Format 2019 an.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Würde Dir das schon mal weiterhelfen?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 08:19:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8355239#M17691</guid>
      <dc:creator>Dennis.Ossadnik</dc:creator>
      <dc:date>2018-10-24T08:19:15Z</dc:date>
    </item>
    <item>
      <title>Betreff: ExportParameter in iLogic löschen</title>
      <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8355575#M17692</link>
      <description>&lt;P&gt;Hey, Vielen Dank!&lt;/P&gt;&lt;P&gt;Ich lern richtig viel von deinem Vorschlag! Und es tauchen viele neue fragen auf .. warum z.B. man mit "case" das Rad (If..Then..) neu erfindet...(nach dem compelieren besserer code?) Ist aber hier jetzt auch egal.&lt;/P&gt;&lt;P&gt;Ich habe inzwischen den Code dahingehend geändert solch einen Parameter gar nicht zu verwenden. Ich schieb den Wert direkt in iProperties rein.&lt;/P&gt;&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #800080;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Value&lt;/SPAN&gt; (&lt;SPAN style="color: #008080;"&gt;"Custom"&lt;/SPAN&gt;,&lt;SPAN style="color: #008080;"&gt;"Welding_type_value"&lt;/SPAN&gt;) = &lt;SPAN style="color: #800000;"&gt;Welding_type_value_Integer&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Nächster Schritt ist dann das mit dem Integer bleiben zu lassen und einfach den Text da rein zu schieben...&lt;/P&gt;&lt;P&gt;Bleibt die Frage welche Vorteile den der Wert in den "normalen" Parametern hätte ..&lt;/P&gt;&lt;P&gt;Und es bleibt irgendwie die Frage offen WARUM sich in meinem alten Code der Parameter nicht löscht.&lt;/P&gt;&lt;P&gt;Im Anhang den funktional gemachten Vorschlag von Dir (Nochmals DANKE!) sowie den Code den ich jetzt gerade verwende.&lt;/P&gt;&lt;P&gt;Bin erst morgen wieder da..&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 10:49:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8355575#M17692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-24T10:49:40Z</dc:date>
    </item>
    <item>
      <title>Betreff: ExportParameter in iLogic löschen</title>
      <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8356511#M17693</link>
      <description>&lt;P&gt;Hallo&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;freut mich, dass Dir der Code etwas weitergeholfen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Du hast recht, eigentlich kann man das mit den IF Statements auch so machen, aber ich persönlich finde, dass der Code durch die Verwendung der SELECT CASE etwas leserlicher und verständlicher ist.&lt;/P&gt;
&lt;P&gt;Wenn Du nach ein paar Jahren daran mal was ändern musst oder ein Fehler auftritt, ist es etwas übersichtlicher und die betroffene Stelle bestimmt schneller zu finden.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was den Fehler beim Löschen angeht... Irgendwie läuft das bei mir nicht auf einen Fehler.&lt;/P&gt;
&lt;P&gt;Eventuell liegt es an dem Datensatz, mit dem Du testest, oder ich habe etwas übersehen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ich habe Dir mal einen kleinen Code geschrieben, der ein paar Fehler analysiert, die üblicherweise in diesem Zusammenhang kommen könnten. Kannst du ja einfach mal in der Baugruppe testen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Dim welding_type_value_OLD As Inventor.UserParameter 

'Prüfen der Fehler beim Zuweisen
Try
	welding_type_value_OLD = ThisDoc.Document.ComponentDefinition.Parameters.UserParameters.Item("welding_type_value")
Catch
	MessageBox.Show("Da ist was schief gegangen. Gibt es diesen Parameter überhaupt???", "Parameter zuweisen")
	Exit Sub
End Try

'Vorbedingung zum Löschen: Der Parameter darf nicht verwendet sein.
If welding_type_value_OLD.Dependents.Count &amp;gt; 0 Then
	MessageBox.Show("Der Parameter " &amp;amp; welding_type_value_OLD.Name &amp;amp; " kann nicht gelöscht werden, da er noch Abhängigkeiten hat!", "Prüfung der Abhängigkeiten")
	Exit Sub
End If

'Prüfen der Fehler beim Löschen
If MessageBox.Show("Jetzt den Parameter " &amp;amp; welding_type_value_OLD.Name &amp;amp; " löschen?", "Parameter-TEST", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = DialogResult.Yes Then
	
	Try
		welding_type_value_OLD.Delete
		MessageBox.Show("Geschafft!", "Parameter löschen")

	Catch
		MessageBox.Show("Da ist noch was schief gegangen.", "Parameter löschen")
		Exit Sub
	End Try
	
End If
&lt;/PRE&gt;
&lt;P&gt;Eventuell könnte es daran liegen, dass der Parameter irgendwie verwendet wird. Bspw. in dem Parametern. Dann kann man den mit dem Code nicht löschen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/561448iDCBBF4D6A3F22CFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sollte das der Fall sein, würdest Du beim Code nun diese Meldung bekommen:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 403px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/561451iE62C12737054652E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ich hoffe, das hilft Dir noch ein Stückchen weiter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;FONT size="-1" color="#666666"&gt;Bitte nutzt den "&lt;FONT color="#87BC40"&gt;Als Lösung akzeptieren&lt;/FONT&gt;"-Button, wenn ein Beitrag euer Problem oder eure Frage löst. Für hilfreiche Posts könnt ihr auch gerne Kudos vergeben.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:04:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8356511#M17693</guid>
      <dc:creator>Dennis.Ossadnik</dc:creator>
      <dc:date>2018-10-24T16:04:03Z</dc:date>
    </item>
    <item>
      <title>Betreff: ExportParameter in iLogic löschen</title>
      <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8357153#M17694</link>
      <description>&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;ich nochmal....&lt;/P&gt;
&lt;P&gt;Also wenn du in deinem alten Code wirklich die Ursache finden willst, würde ich als erstes mal die OnError Resume Next da auskommentieren. Wahrscheinlich fliegt dir dann eh der Code um die Ohren (du hast die bestimmt aus gutem Grund da rein genacht). Für mich mittlerweile ein No Go. Fehler sollte man nicht einfach übergehen, sondern beheben oder kontrolliert abfangen. Das gilt um so mehr in iLogic, da das Debuggen dort nach wie vor sehr mühselig ist, im Unterschied zu VBA. Und der Goto Befehl war mir schon immer Suspekt.&lt;/P&gt;
&lt;P&gt;By the way, Select Case gibt es schon ewig und dann würde es auch noch&amp;nbsp; If , ElseIf geben. Ich persönlich finde es auch recht übersichtlich wenn man sieht wo die If Schleife zu Ende ist.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/803706"&gt;@Dennis.Ossadnik&lt;/a&gt; hast du dir ja echt Mühe gegeben! Sieht doch gleich lesbar aus.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Grüße Martin&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 20:03:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8357153#M17694</guid>
      <dc:creator>Martin-Winkler-Consulting</dc:creator>
      <dc:date>2018-10-24T20:03:30Z</dc:date>
    </item>
    <item>
      <title>Betreff: ExportParameter in iLogic löschen</title>
      <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8358081#M17695</link>
      <description>&lt;P&gt;Okay, danke! Der Parameter ist in Benutzung und das er damit nicht löschbar ist war der entscheidend Hinweis. Bleibt die Frage warum er in Benutzung ist ....Muss ich mal wenn ich etwas Zeit habe nachforschen. Rein an dem Flag „Export“ kann es ja nicht liegen. Ich mach jetzt erst mal ohne Parameter weiter mit direkten i-Properties Einträgen. Nach dem Motto „keep it simple“.&lt;/P&gt;&lt;P&gt;Case kenn ich von meinen C64 Tagen her nicht …(~30 Jahre her?). Aber man ist ja lernfähig. Bleibt bei mir aber das Fragezeichen warum man sowas bloß für bessere Lesbarkeit erfindet. Leider gibt der wiki-Artikel auch keine wirkliche Auskunft.. &lt;A href="https://de.wikibooks.org/wiki/VBA_in_Excel/_Wenn-Abfragen" target="_blank"&gt;https://de.wikibooks.org/wiki/VBA_in_Excel/_Wenn-Abfragen&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ist jetzt aber alles auch nicht so wichtig . Vielen herzlichen Dank für die tollen Programm Beispiele. So lern ich hier auch noch das Try-Case und komm vielleicht ohne solche Fehler generieren und Abfragen aus. Interessant fand ich auch die Tatsache das es offensichtlich keinen Unterschied macht ob ein Bauteil oder eine Baugruppe offen ist. Hätte ich mir die Mühe der Differenzierung sparen können &lt;span class="lia-unicode-emoji" title=":verwirrtes_Gesicht:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 07:51:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8358081#M17695</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-25T07:51:02Z</dc:date>
    </item>
    <item>
      <title>Betreff: ExportParameter in iLogic löschen</title>
      <link>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8358090#M17696</link>
      <description>&lt;P&gt;Danke für den Hinweis. Ich hab den On Error Resume Next ebraucht für die (unnötige) und holprige Abfrage ob Bauteil oder Baugruppe offen ist. Danke für den hinweis!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 07:53:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-deutsches-forum/exportparameter-in-ilogic-loschen/m-p/8358090#M17696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-25T07:53:09Z</dc:date>
    </item>
  </channel>
</rss>

