The question is how do i go about doing the same thing but in the assembly environment. I would assume you need to set the PMI object to refernece the Assembly PMI and then use the edge information from the occurences you want to diemension to.
In the Assembly environment, you can go to the PMI tab at the top and utilize the tools there to place PMI dimensions on parts and/or between different parts. You can set you plane and choose dimensioning standards. You can also save different views with specific dimensions shown/hidden as "PMI Model Views". These can be handy to review you assembly with others with critical information called out. Annotations are also available.
Hope this helps.
Kevin Grayson Solid Edge Technical Consultant email@example.com
Thanks for the reply. I have used the approrach you have suggested and it worked really well for dimensioning on assemblies that i know the configuration ahead of time.
The situtation i have is i need to place assembly level PMI dimensions using VB.net on a assembly completely created by code with out the uses of any human interaction. This is one of the requirements of the program.
The link to the API code i attached allows me to do this this for Part files. Is there a way to programmically doing this in the API for the assembly environment.
This is an example of what the automatically generated assembly look like. The dimensions are manually added but they would like the whole process to be done via code.
Currently they layout the assembly using a custom interface and then the code handles the rest(Parts,Assemblies, and drawings. Having to manually dimension stuff opens up the chances for human error.
This is the cad output with the desired PMI deminsions.