{"id":13,"date":"2008-01-08T18:37:01","date_gmt":"2008-01-09T01:37:01","guid":{"rendered":"http:\/\/www.fcsuper.com\/swblog\/?p=13"},"modified":"2010-11-30T21:48:03","modified_gmt":"2010-12-01T05:48:03","slug":"macro-to-add-revisions-to-drawing-revision-block-table","status":"publish","type":"post","link":"https:\/\/www.fcsuper.com\/swblog\/?p=13","title":{"rendered":"Macro to add Revisions to Drawing Revision block table"},"content":{"rendered":"<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\">A while ago, I created a SolidWorks macro that allows the user to quickly add new revisions to a drawing&#8217;s revision block table.<span> <\/span>It&#8217;s called RevBlockControl.<span> <\/span>I&#8217;m fairly proud of this macro because of its flexibility and easy of use.<span> <\/span>Within SolidWorks, it can be used for any ASME Y14.35M-1997 compliant revision block table and even supports not so compliant layouts.<span> <\/span>One cool feature is that it supports revision block tables that start either from the top or bottom of a drawing.<span> <\/span>The macro even provides an option to update a revision custom property (though the name of the custom property is stored in the code).<span> <\/span>This one function, of course, is not as useful for those who update their custom properties within the part model.<span> <\/span>Another requested feature that was included is the addition of buttons to insert some common special characters like line feed and the +\/- symbol.<\/p>\n<p style=\"text-align: center\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"width: 373px; height: 192px;\" src=\"https:\/\/i0.wp.com\/fcsuper.com\/sw\/modules\/UpDownload\/shots\/65.jpg?resize=380%2C200\" border=\"2\" alt=\"RevBlockControl 1.01\" hspace=\"2\" vspace=\"2\" width=\"380\" height=\"200\" \/><\/p>\n<h6 style=\"text-align: center\">Image of an early version of the RevBlockControl<\/h6>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\">This macro will not work with manually drawn or excel based revision blocks.<span> <\/span>It only works with a SolidWorks revision block table.\u00a0<span> <\/span>One area of the macro needing improvement is that of settings.<span> <\/span>Currently, the settings are stored within the code itself, or user selected each time the macro is run.<span> <\/span>Also, it does not validate if the current revision block table matches the user selected settings.<span> <\/span>However, it does have clear instructions within a detailed help area that will allow even a novice user to quickly modify the code to establish their settings preferences.<span> <\/span>There is currently only one known bug involving the form X button.<span> <\/span>Use the actual Cancel button if quitting the macro without making changes to the revision block table.<\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\">One big plus of the macro is that it has a simple preview area that allows the user to visualize how their revision entry will appear.<span> <\/span>The preview updates to match whatever settings are selected, and any data entered into the input fields.<span> <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt\">The macro may be downloaded here: <strong><a title=\"RevBlockControl 1.01\" href=\"http:\/\/sw.fcsuper.com\/index.php?name=UpDownload&amp;req=viewdownloaddetails&amp;lid=65\" target=\"_blank\">RevBlockControl<\/a><\/strong>.\u00a0 It may be freely distributed.<span> <\/span>For additional details, see its .txt file and its help area.\u00a0 Feedback is always welcome.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A while ago, I created a SolidWorks macro that allows the user to quickly add new revisions to a drawing&#8217;s revision block table. It&#8217;s called RevBlockControl. I&#8217;m fairly proud of this macro because of its flexibility and easy of use. Within SolidWorks, it can be used for any ASME Y14.35M-1997 compliant revision block table and &hellip; <a href=\"https:\/\/www.fcsuper.com\/swblog\/?p=13\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Macro to add Revisions to Drawing Revision block table&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[16,95],"tags":[29,30,178],"series":[],"class_list":["post-13","post","type-post","status-publish","format-standard","hentry","category-drawing","category-macros","tag-macro","tag-revision","tag-table"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Macro to add Revisions to Drawing Revision block table - SolidWorks Legion<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fcsuper.com\/swblog\/?p=13\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Macro to add Revisions to Drawing Revision block table - SolidWorks Legion\" \/>\n<meta property=\"og:description\" content=\"A while ago, I created a SolidWorks macro that allows the user to quickly add new revisions to a drawing&#8217;s revision block table. It&#8217;s called RevBlockControl. I&#8217;m fairly proud of this macro because of its flexibility and easy of use. Within SolidWorks, it can be used for any ASME Y14.35M-1997 compliant revision block table and &hellip; Continue reading &quot;Macro to add Revisions to Drawing Revision block table&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fcsuper.com\/swblog\/?p=13\" \/>\n<meta property=\"og:site_name\" content=\"SolidWorks Legion\" \/>\n<meta property=\"article:published_time\" content=\"2008-01-09T01:37:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-12-01T05:48:03+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/fcsuper.com\/sw\/modules\/UpDownload\/shots\/65.jpg\" \/>\n<meta name=\"author\" content=\"fcsuper\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@swsuper\" \/>\n<meta name=\"twitter:site\" content=\"@swsuper\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"fcsuper\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/?p=13#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/?p=13\"},\"author\":{\"name\":\"fcsuper\",\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/859d9f25668554f7193852892dbad92b\"},\"headline\":\"Macro to add Revisions to Drawing Revision block table\",\"datePublished\":\"2008-01-09T01:37:01+00:00\",\"dateModified\":\"2010-12-01T05:48:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/?p=13\"},\"wordCount\":365,\"commentCount\":11,\"publisher\":{\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/859d9f25668554f7193852892dbad92b\"},\"image\":{\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/?p=13#primaryimage\"},\"thumbnailUrl\":\"http:\/\/fcsuper.com\/sw\/modules\/UpDownload\/shots\/65.jpg\",\"keywords\":[\"macro\",\"revision\",\"table\"],\"articleSection\":[\"Drawing\",\"macros\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.fcsuper.com\/swblog\/?p=13#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/?p=13\",\"url\":\"https:\/\/www.fcsuper.com\/swblog\/?p=13\",\"name\":\"Macro to add Revisions to Drawing Revision block table - SolidWorks Legion\",\"isPartOf\":{\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/?p=13#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/?p=13#primaryimage\"},\"thumbnailUrl\":\"http:\/\/fcsuper.com\/sw\/modules\/UpDownload\/shots\/65.jpg\",\"datePublished\":\"2008-01-09T01:37:01+00:00\",\"dateModified\":\"2010-12-01T05:48:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/?p=13#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fcsuper.com\/swblog\/?p=13\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/?p=13#primaryimage\",\"url\":\"http:\/\/fcsuper.com\/sw\/modules\/UpDownload\/shots\/65.jpg\",\"contentUrl\":\"http:\/\/fcsuper.com\/sw\/modules\/UpDownload\/shots\/65.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/?p=13#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fcsuper.com\/swblog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Macro to add Revisions to Drawing Revision block table\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/#website\",\"url\":\"https:\/\/www.fcsuper.com\/swblog\/\",\"name\":\"SolidWorks Legion\",\"description\":\"SolidWorks related topics!\",\"publisher\":{\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/859d9f25668554f7193852892dbad92b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fcsuper.com\/swblog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/859d9f25668554f7193852892dbad92b\",\"name\":\"fcsuper\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.fcsuper.com\/swblog\/wp-content\/uploads\/2014\/12\/310185_10150356792820560_1654177_n.jpg?fit=153%2C153&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.fcsuper.com\/swblog\/wp-content\/uploads\/2014\/12\/310185_10150356792820560_1654177_n.jpg?fit=153%2C153&ssl=1\",\"width\":153,\"height\":153,\"caption\":\"fcsuper\"},\"logo\":{\"@id\":\"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/image\/\"},\"description\":\"As a drafter, mechanical designer and CAD engineer, I've been in the mechanical design field since 1991. For the first 8 years of my career, I was an AutoCAD professional. I utilized AutoLISP and many other AutoCAD customization features to streamline drafting activities for 6+ drafters and designers. I authored several custom functions, one of which was published in the March 1997 issue of Cadalyst Magazine. Since 1998, I've been used SolidWorks non-stop. I've worked to utilize the SolidWorks' user environment to simplify drafting and design activities for 20+ engineers. I've created this website to provide current information about SolidWorks from a variety of contributors. More recently, I am now employed by Dassault Systemes as SOLIDWORKS Sr. Product Definition Manager to improve drawing, annotation and MBD related areas.\",\"sameAs\":[\"http:\/\/www.fcsuper.com\/swblog\",\"https:\/\/x.com\/swsuper\"],\"url\":\"https:\/\/www.fcsuper.com\/swblog\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Macro to add Revisions to Drawing Revision block table - SolidWorks Legion","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fcsuper.com\/swblog\/?p=13","og_locale":"en_US","og_type":"article","og_title":"Macro to add Revisions to Drawing Revision block table - SolidWorks Legion","og_description":"A while ago, I created a SolidWorks macro that allows the user to quickly add new revisions to a drawing&#8217;s revision block table. It&#8217;s called RevBlockControl. I&#8217;m fairly proud of this macro because of its flexibility and easy of use. Within SolidWorks, it can be used for any ASME Y14.35M-1997 compliant revision block table and &hellip; Continue reading \"Macro to add Revisions to Drawing Revision block table\"","og_url":"https:\/\/www.fcsuper.com\/swblog\/?p=13","og_site_name":"SolidWorks Legion","article_published_time":"2008-01-09T01:37:01+00:00","article_modified_time":"2010-12-01T05:48:03+00:00","og_image":[{"url":"http:\/\/fcsuper.com\/sw\/modules\/UpDownload\/shots\/65.jpg","type":"","width":"","height":""}],"author":"fcsuper","twitter_card":"summary_large_image","twitter_creator":"@swsuper","twitter_site":"@swsuper","twitter_misc":{"Written by":"fcsuper","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fcsuper.com\/swblog\/?p=13#article","isPartOf":{"@id":"https:\/\/www.fcsuper.com\/swblog\/?p=13"},"author":{"name":"fcsuper","@id":"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/859d9f25668554f7193852892dbad92b"},"headline":"Macro to add Revisions to Drawing Revision block table","datePublished":"2008-01-09T01:37:01+00:00","dateModified":"2010-12-01T05:48:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fcsuper.com\/swblog\/?p=13"},"wordCount":365,"commentCount":11,"publisher":{"@id":"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/859d9f25668554f7193852892dbad92b"},"image":{"@id":"https:\/\/www.fcsuper.com\/swblog\/?p=13#primaryimage"},"thumbnailUrl":"http:\/\/fcsuper.com\/sw\/modules\/UpDownload\/shots\/65.jpg","keywords":["macro","revision","table"],"articleSection":["Drawing","macros"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.fcsuper.com\/swblog\/?p=13#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.fcsuper.com\/swblog\/?p=13","url":"https:\/\/www.fcsuper.com\/swblog\/?p=13","name":"Macro to add Revisions to Drawing Revision block table - SolidWorks Legion","isPartOf":{"@id":"https:\/\/www.fcsuper.com\/swblog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fcsuper.com\/swblog\/?p=13#primaryimage"},"image":{"@id":"https:\/\/www.fcsuper.com\/swblog\/?p=13#primaryimage"},"thumbnailUrl":"http:\/\/fcsuper.com\/sw\/modules\/UpDownload\/shots\/65.jpg","datePublished":"2008-01-09T01:37:01+00:00","dateModified":"2010-12-01T05:48:03+00:00","breadcrumb":{"@id":"https:\/\/www.fcsuper.com\/swblog\/?p=13#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fcsuper.com\/swblog\/?p=13"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fcsuper.com\/swblog\/?p=13#primaryimage","url":"http:\/\/fcsuper.com\/sw\/modules\/UpDownload\/shots\/65.jpg","contentUrl":"http:\/\/fcsuper.com\/sw\/modules\/UpDownload\/shots\/65.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fcsuper.com\/swblog\/?p=13#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fcsuper.com\/swblog"},{"@type":"ListItem","position":2,"name":"Macro to add Revisions to Drawing Revision block table"}]},{"@type":"WebSite","@id":"https:\/\/www.fcsuper.com\/swblog\/#website","url":"https:\/\/www.fcsuper.com\/swblog\/","name":"SolidWorks Legion","description":"SolidWorks related topics!","publisher":{"@id":"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/859d9f25668554f7193852892dbad92b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fcsuper.com\/swblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/859d9f25668554f7193852892dbad92b","name":"fcsuper","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/www.fcsuper.com\/swblog\/wp-content\/uploads\/2014\/12\/310185_10150356792820560_1654177_n.jpg?fit=153%2C153&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.fcsuper.com\/swblog\/wp-content\/uploads\/2014\/12\/310185_10150356792820560_1654177_n.jpg?fit=153%2C153&ssl=1","width":153,"height":153,"caption":"fcsuper"},"logo":{"@id":"https:\/\/www.fcsuper.com\/swblog\/#\/schema\/person\/image\/"},"description":"As a drafter, mechanical designer and CAD engineer, I've been in the mechanical design field since 1991. For the first 8 years of my career, I was an AutoCAD professional. I utilized AutoLISP and many other AutoCAD customization features to streamline drafting activities for 6+ drafters and designers. I authored several custom functions, one of which was published in the March 1997 issue of Cadalyst Magazine. Since 1998, I've been used SolidWorks non-stop. I've worked to utilize the SolidWorks' user environment to simplify drafting and design activities for 20+ engineers. I've created this website to provide current information about SolidWorks from a variety of contributors. More recently, I am now employed by Dassault Systemes as SOLIDWORKS Sr. Product Definition Manager to improve drawing, annotation and MBD related areas.","sameAs":["http:\/\/www.fcsuper.com\/swblog","https:\/\/x.com\/swsuper"],"url":"https:\/\/www.fcsuper.com\/swblog\/?author=2"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.fcsuper.com\/swblog\/index.php?rest_route=\/wp\/v2\/posts\/13","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fcsuper.com\/swblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fcsuper.com\/swblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fcsuper.com\/swblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fcsuper.com\/swblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13"}],"version-history":[{"count":0,"href":"https:\/\/www.fcsuper.com\/swblog\/index.php?rest_route=\/wp\/v2\/posts\/13\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fcsuper.com\/swblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fcsuper.com\/swblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fcsuper.com\/swblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/www.fcsuper.com\/swblog\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}