• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

[macro] smartvar

  • Thread starter Thread starter cacciatorino
  • Start date Start date
from the Danish retailer stream design you can download the macro "smartvar":
http://www.stream-design.com/solutions/downloads/smartvar/smartvar_1-3-5_setup.zip
thanks hunter,
You were nice to go over and find your old post.
Unfortunately the site of the stream-design no longer exists and I couldn't find a way to download the smartvar to try it.

Anyway, from your answer, I understand that natively solid edge can't do that 'this game, right?
I hoped there might be a strange variable to expose, or something.. .

But... one more question.. .
in standard templates are those special variables (density, thickness in psm) which are recalled with special codes (e.g. physicalproperties_density); that you know, there is a list of "special" variables that can be inserted in this way?
Surely there will be more than those 4 or 5 found in templates... I tried to find but I didn't find anything:frown:

Hi.
 
thanks hunter,
You were nice to go over and find your old post.
Unfortunately the site of the stream-design no longer exists and I couldn't find a way to download the smartvar to try it.

Anyway, from your answer, I understand that natively solid edge can't do that 'this game, right?
I hoped there might be a strange variable to expose, or something.. .

But... one more question.. .
in standard templates are those special variables (density, thickness in psm) which are recalled with special codes (e.g. physicalproperties_density); that you know, there is a list of "special" variables that can be inserted in this way?
Surely there will be more than those 4 or 5 found in templates... I tried to find but I didn't find anything:frown:

Hi.
Because the site doesn't seem to exist anymore, I'm going to train the software. I don't remember if it was a full-time demo, even because I couldn't make it work. For property, I don't know if there's a list, but you can yourself popularize the property template that you're interested in and find it on all the new files you'll create from that template. I don't know if it's possible to do this, I leave the word to be_on_edge that you know more about these things, as well as being more up-to-date. You can do it with solidworks and it's actually very comfortable.
 

Attachments

Because the site doesn't seem to exist anymore, I'm going to train the software. I don't remember if it was a full-time demo, even because I couldn't make it work. For property, I don't know if there's a list, but you can yourself popularize the property template that you're interested in and find it on all the new files you'll create from that template. I don't know if it's possible to do this, I leave the word to be_on_edge that you know more about these things, as well as being more up-to-date. You can do it with solidworks and it's actually very comfortable.
in the variable table there is the column "exposed" with which you can create a property with name of your choice and variable value. Of course, it automatically updates.

Hi.
 
in the variable table there is the column "exposed" with which you can create a property with name of your choice and variable value. Of course, it automatically updates.

Hi.
but then it is possible to use them "concatenating them" to create custom properties, as in the example in the first post?
 
but then it is possible to use them "concatenating them" to create custom properties, as in the example in the first post?
the chains directly where they have to appear, in the case of the first post becomes something like this:

tubular d%{diameter|r1} sp.%{spessore|r1} l=%{length|r1}

Hi.
 
the chains directly where they have to appear, in the case of the first post becomes something like this:

tubular d%{diameter|r1} sp.%{spessore|r1} l=%{length|r1}

Hi.
is that I needed to make her appear in the "project name" field of object 3d (as you can't do with swx), can you do in the manner indicated? the thing you've written generally use to put calls in the draft form.
 

Attachments

  • Immagine.webp
    Immagine.webp
    42.9 KB · Views: 34
in the variable table there is the column "exposed" with which you can create a property with name of your choice and variable value. Of course, it automatically updates.
Yes, of course, you do this by defining variables that are connected to quotas 3d (or 2d), or directly using the quota in the variable table and exposing it.

do you know however if there is the possibility to define new variables that take the values from various properties of solid or file in general, recalling them with ad hoc codes (e.g. physicalproperties_density, physicalproperties_accuracy) predefined for solidedge?
is there a list of names of such properties?
I refer to the mass, volume, file name, etc, etc.
 
is that I needed to make her appear in the "project name" field of object 3d (as you can't do with swx), can you do in the manner indicated? the thing you've written generally use to put calls in the draft form.
no this can not be done without using\creating a macro.

by itself it is also quite simple to write it, I never thought about it because I do not use this method to manage the properties.
to make the data appear in the chart I use the properties concatenate as shown above.

Hi.
 
Yes, of course, you do this by defining variables that are connected to quotas 3d (or 2d), or directly using the quota in the variable table and exposing it.

do you know however if there is the possibility to define new variables that take the values from various properties of solid or file in general, recalling them with ad hoc codes (e.g. physicalproperties_density, physicalproperties_accuracy) predefined for solidedge?
is there a list of names of such properties?
I refer to the mass, volume, file name, etc, etc.
I think you're confusing variables with properties.

- of variables you can create as many as you want in the variable table.

- you can create as many as you want in the property tab.

- you can connect a variable to a property with the "exposed" method as seen above

- you can not concatenate multiple properties within another property, you can concatenate wherever there is the possibility of writing text (quotes, calls, text boxes etc.)

- the recallable properties are listed with the "ownership text" button
testo prop.webp

ciao
 
I think you're confusing variables with properties.
I don't know if I'm confused, I think I'm not:
But surely a little casino I do it with the terminology and much more I did it when I mistakenly answered this discussion instead of the other in which hunter had linked me this. in the other (maybe) I explained a little better.

what I wanted to do was to be able to make the file name and mass appear among the custom properties, so that we can also see them outside other programs.
I had come to mind that maybe you could go through the exposed variables.
variabili.webpin the attached image I had intrigued those codenames circled with green, which are different from the other variables that depend on the shape of the solid; I was wondering if there was a list of these codes that can be used to create variables and if in particular you can recall the mass and file name.
always with the goal of transferring these info to personal properties.

Hi.
 
I don't know if I'm confused, I think I'm not:
But surely a little casino I do it with the terminology and much more I did it when I mistakenly answered this discussion instead of the other in which hunter had linked me this. in the other (maybe) I explained a little better.

what I wanted to do was to be able to make the file name and mass appear among the custom properties, so that we can also see them outside other programs.
I had come to mind that maybe you could go through the exposed variables.
View attachment 38325in the attached image I had intrigued those codenames circled with green, which are different from the other variables that depend on the shape of the solid; I was wondering if there was a list of these codes that can be used to create variables and if in particular you can recall the mass and file name.
always with the goal of transferring these info to personal properties.

Hi.
the file name and the mass are already properties and you find them using the command "ownership text" as I showed you earlier.
do not appear among the custom properties because... they are not custom properties but properties that depend on file name and model weight.

Hi.
 
the file name and the mass are already properties and you find them using the command "ownership text" as I showed you earlier.
do not appear among the custom properties because... they are not custom properties but properties that depend on file name and model weight.

Hi.
Okay, thank you for further clarification
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top