I have recently set up "generic" tank models thanks to global variables.
However, I am now looking to insert these variables to a table in the 3D file, to be able to make it easier to check the measurements, and the rigor, if possible, to be able to directly change the variables through this table without entering the Equations tab of the FeatureManager.
If you expect an editable "table" display in your 3D (like for a 3D nomenclature) I don't think it's possible. The alternatives to your request would be (in my eyes):
- If you are talking about an Assembly (for your Tank - it is not specified in your request-) there is, possibly, "Pilot Assembly" published by Visiativ too (probably available on Lynkoa too).
- There is still the possibility to create an interface in VBA / Userforms but it will depend on your level in Macro / API...
... a small example (screenshot) of your "Generic" Tank and the Equations to be managed/controlled/modified would be welcome. Kind regards.
In fact, the dimensions are related to the global variables on my 2D sketches, so by the equations tab my dimensions follow according to the value I can change in the "Value/equation" column. So for that it's perfect, especially since I'm reworking the settings for even more options on another version, so I'm not going to lie to you that it would bother me a little to have to start all over again. ^^
That said, I'm not necessarily looking for the link between the global variables and my odds since it's already the case, but mainly a display in the 3D model of all these equations in a table. This would allow us to check our quotations more quickly. So there must be a link from the equations to this table so that it keeps the data and updates it according to them.
Only even after fiddling around in the Configuration Publisher, I can't find much or by taking a closer look at the Lynkoa Macro that Maclane provided me.
Unfortunately I've been looking for a solution for a while, and as it's only "comfort" I don't prioritize this option, I'll continue to look from time to time to see if I find something.
It seems to me that an Excel part family can solve your problem.
All your odds will therefore be in the same table.
You can also put equations in excel (to automatically calculate the number of ribs for example)
It is also possible to repatriate the Excel table of the part family into the MEP (it's quite moldy as a feature though: it's quite difficult to get the desired visual rendering).
The attached macro could meet your initial request, allowing you to modify the global variables of a SolidWorks part model , variables previously created in the Equations branch of the construction tree.
Double-clicking on a variable in the list causes the input box for its new value to appear. The Edit button allows you to apply the change in the list and in the Equations window, and to immediately see the effect on the geometry by "rebuilding" the model. This is the only advantage over the SolidWorks Equations page... The change applies either to the active config or to all the configs of the template depending on the checkbox.
As always, macro use with caution, it has only been tested on the attached model resembling your tank (SW 2019). And there are very few safeguards.