You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the name of the revision in the **INITIAL_REV** constant
15
+
16
+
~~~vb
17
+
ConstINITIAL_REVAsString="A"'create new revision A
18
+
~~~
19
+
20
+
Fill the values of the revision table columns in the **COLUMNS** variable. use an empty string **""** to keep the default value (e.g. date or revision)
21
+
22
+
~~~vb
23
+
COLUMNS=Array("First Column Value","","Third Column Value","","Fifth Column Value")'Fill the 1st, 3rd and 5th columns with the values and keep 2nd and 4th columns default value
24
+
~~~
25
+
26
+
In order to process all open drawings, instead of the active drawing, set the **ALL_DRAWINGS** constant to **True**
27
+
28
+
~~~vb
29
+
ConstALL_DRAWINGSAsBoolean=True'process all open drawings
30
+
~~~
31
+
14
32
[IRevisionTableAnnotation](https://help.solidworks.com/2018/english/api/sldworksapi/solidworks.interop.sldworks~solidworks.interop.sldworks.irevisiontableannotation.html) SOLIDWORKS API interface is used to manage specific functionality of this type of the table.
15
33
16
-
{% code-snippet { file-name: Macro.vba } %}
34
+
> Only revisions table on the first sheet are supported
0 commit comments