Okay, so I'm designing all the parts and they are fairly elementary, but now I need to have the program draw dimensions in assembly between these parts. I can't locate any dimension api in the AssemblyDocument. Help?
I actually located a useful example in the SDK documentation. (I find this surprising because most examples I found were just "get this, get this, get this, get this and you have it" without explaining what to do with "it".)
Go to the Index and select PMI object, and there we have code to create a linear dimension.
c:\program files\Solid Edge ST7\SDK\sesdk.chm
Not aware of any other resources.
More about this dimension thing. I tried the example and it works - only if the part has an extrusion and that extrusion has the first two edges measurable with a linear dimension as specified. I think this is the same criteria as when you try to make a Distance Between dimension interactively and you pick two intersecting lines. Solid Edge in that case reports "The Dimension cannot be placed."
My next conundrum is how can I figure out which edge I want to use. I suppose by checking all edges for one with a given coordinate. It would be convenient if I could otherwise identify them.