Reply

How do I create a reference that to use in AddSimplifyEnclosure

I have three items in an assembly.

 

How do I create a reference to just one assembly to use in AddSimplifyEnclosure.

 

 

3 REPLIES

I looked up the function in the documentation.   http://s...

I looked up the function in the documentation.

 

http://support.industrysoftware.automation.siemens.com/training/se/106/api/SolidEdgePart~Models~AddS...

 

Are you asking how to to get the Occurence for the this function?

Re: I looked up the function in the documentation.   http://s...

I've seen the limited documentation. It wasn't very helpful.

I have tried simply putting the occurrence into an array ... doesn't work

I have tried to obtain a reference to the occurrence as has been shown in some examples using AddSimplifyEnclosure, but these examples only show for sub-assemblies (take a look at SimplifiedAssemblyModel Object)

Re: I looked up the function in the documentation. http://s...

I had to automate such enclosure creation, and i have experienced the same exact problem.

The API respond with "Wrong argument type" and i cannot understand why.

I assume it is broken, or the exact parameter types to pass are not properly documented.

I have only first level occurrencies to deal with, and it appear that simply create an array of occurrences (not references) is no good for that API.

Do anyone have a working example of this api using 1-level occurrencies assembly ?