<?xml version="1.0" encoding="windows-1250" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>CAD F&#243;rum : Aktualizace hmotnosti - tlačítko</title>
  <link>https://www.cadforum.cz/forum/</link>
  <description><![CDATA[Toto je XML obsahový kanál serveru; CAD F&#243;rum : iLogic a ETO : Aktualizace hmotnosti - tlačítko]]></description>
  <pubDate>Sat, 16 May 2026 15:13:59 +0000</pubDate>
  <lastBuildDate>Fri, 27 Jun 2014 13:03:26 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.cadforum.cz/forum/RSS_post_feed.asp?TID=19537</WebWizForums:feedURL>
  <image>
   <title><![CDATA[CAD F&#243;rum]]></title>
   <url>https://www.cadforum.cz/forum/forum_images/web_wiz_forums.png</url>
   <link>https://www.cadforum.cz/forum/</link>
  </image>
  <item>
   <title><![CDATA[Aktualizace hmotnosti - tlačítko : D&#283;kuji moc za rychl&#233; vy&#345;e&#353;en&#237;,...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=19537&amp;PID=86936&amp;title=aktualizace-hmotnosti-tlacitko#86936</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=1926">jirka007CZ</a><br /><strong>Předmět:</strong> 19537<br /><strong>Zasláno:</strong> 27.čer.2014 v 13:03<br /><br />Děkuji moc za rychlé vyřešení, je to přesně to, co jsem potřeboval.]]>
   </description>
   <pubDate>Fri, 27 Jun 2014 13:03:26 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=19537&amp;PID=86936&amp;title=aktualizace-hmotnosti-tlacitko#86936</guid>
  </item> 
  <item>
   <title><![CDATA[Aktualizace hmotnosti - tlačítko :  Aktualiza&#269;n&#237; makro s popisem...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=19537&amp;PID=86929&amp;title=aktualizace-hmotnosti-tlacitko#86929</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=9">Vladimír Michl</a><br /><strong>Předmět:</strong> 19537<br /><strong>Zasláno:</strong> 27.čer.2014 v 11:00<br /><br />Aktualizační makro s popisem přidání tlačítka najdete v původním tipu z roku 2011:<div><a href="http://www.cadforum.cz/cadforum/tisk-vykresu-inventoru-s-aktualizovanou-in&#102;ormaci-o-hmotnosti-tip8272">http://www.cadforum.cz/cadforum/tisk-vykresu-inventoru-s-aktualizovanou-informaci-o-hmotnosti-tip8272</a></div><div>(nebo funkci máte v X-Tools)</div>]]>
   </description>
   <pubDate>Fri, 27 Jun 2014 11:00:38 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=19537&amp;PID=86929&amp;title=aktualizace-hmotnosti-tlacitko#86929</guid>
  </item> 
  <item>
   <title><![CDATA[Aktualizace hmotnosti - tlačítko : Dobr&#253; den, narazil jsem na n&#225;vod,...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=19537&amp;PID=86924&amp;title=aktualizace-hmotnosti-tlacitko#86924</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=1926">jirka007CZ</a><br /><strong>Předmět:</strong> 19537<br /><strong>Zasláno:</strong> 27.čer.2014 v 09:49<br /><br />Dobrý den, narazil jsem na návod, jak automaticky aktualizovat hmotnost v popisovém poli.<div><a href="http://www.autodeskclub.cz/clanek/6202-automaticka-aktualizace-hmotnosti-v-popisovem-poli-vykresu-inventoru" target="_blank" rel="nofollow">http://www.autodeskclub.cz/clanek/6202-automaticka-aktualizace-hmotnosti-v-popisovem-poli-vykresu-inventoru</a></div><div><br></div><div>Úplně mi toto řešení nevyhovuje, protože se pravidlo spouští při každém uložení, což u větších sestav není pohodlné. Osobně by se mi více líbilo mít uživatelské tlačítko pro aktualizaci hmotnosti.</div><div><br></div><div>Bylo by možné tento kód předělat do VBA, nebo jakým způsobem bych mohl docílit manuálního tlačítka?</div><div><br></div><div>Moc děkuji</div><div><br></div><div><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;"><str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Sub</strong> <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Main</strong> UpdatePartMassProps<str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">()</strong></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp; <em style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-family: inherit; vertical-align: line;">'Kontrola, jestli se jedn</em><em style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-family: inherit; vertical-align: line;">á o pohled komponenty</em></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp; <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">If</strong> <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">ThisDrawing</strong>.<str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">ModelDocument</strong>.DocumentType <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">=</strong> kPartDocumentObject <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Then</strong></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Dim</strong> oDoc <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">As</strong> Inventor.PartDocument</span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-family: inherit; vertical-align: line;">'Definice modelu podle prvního výkresov</em><em style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-family: inherit; vertical-align: line;">ého pohledu</em></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oDoc <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">=</strong> <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">ThisDrawing</strong>.<str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">ModelDocument</strong></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Dim</strong> dMass <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">As</strong> <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Double</strong></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-family: inherit; vertical-align: line;">'Aktualizace hmotnosti</em></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dMass <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">=</strong> oDoc.ComponentDefinition.MassProperties.<str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Mass</strong></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-family: inherit; vertical-align: line;">'Aktualizace součásti (Komponenty)</em></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oDoc.Update</span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-family: inherit; vertical-align: line;">'Uložení (Komponenty)</em></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oDoc.<str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Save</strong></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">iLogicVb</strong>.<str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">UpdateWhenDone</strong> <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">=</strong> True</span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">MessageBox</strong>.<str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Show(</strong>"Hmotnost byla aktualizována", "Úspěšně dokončeno"<str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">)</strong></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp; <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Else</strong></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">MessageBox</strong>.<str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Show(</strong>"Aktualizace hmotnosti je k dispozici pouze pro výkres součásti", "špatný typ souboru ve výkresu"<str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">)</strong></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp; <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">Exit Sub</strong></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;">&nbsp;&nbsp;&nbsp; <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">End</strong> <str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">If</strong></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline: 0px; font-family: inherit; vertical-align: line; color: rgb99, 99, 99; line-height: normal;"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: line; color: rgb51, 153, 102;"><str&#111;ng style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: line;">End Sub</strong></span></pre></div>]]>
   </description>
   <pubDate>Fri, 27 Jun 2014 09:49:41 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=19537&amp;PID=86924&amp;title=aktualizace-hmotnosti-tlacitko#86924</guid>
  </item> 
 </channel>
</rss>