I only have one configuration in my family room, and in my room document.
However, the property I modify (TITLE3) is only modified in the properties related to the configuration. and the ones that I retrieve by a macro is the one linked to the document. I can't get it so that when I force this property through Excel it forces itself into all the properties. Do you have an idea?
Pay attention to the name of the property, the @(configue) that sticks to this name must be removed for the property to be taken into account in all configurations.
Basically, if I understood correctly, this property (title 3) is linked to a single configuration, while you would like it to be linked to all configurations?
Is your excel sheet organized in the same way as a part family?
If so, you should have multiple rows of values corresponding to the different configurations.
I went through the part family to do automated CAD because I don't have a driveworks license. The part family file is linked to a design note that defines the dimensional parameters of my part. So I don't understand how it's possible that there are two "title3" info in my document... photo to accompany
I use excel to prohibit the modification of the sketch.
Yes I understand, what I would like to know is either:
- How to retrieve the TITLE3 info of the configuration and not of the document (in VBA maybe I'm pointing to the wrong info, if necessary I don't know how to say that we are interested in the active configuration and not in the document)
- How to force the TITLE3 info from my excel in both cases (document and config)
I just had an idea. If I go through the name of the configuration, there must be a way to retrieve it?
I looked at the SW API, and indeed, GetActiveConfigurationName should work, but I can't seem to integrate it into my code... anyone know how it works? I put the code in PC...
@Dessin I don't have permissions to change these settings...