0

I have a curious problem when loading a Creo sheetmetal file into our APS application. The bit I am having problems with is obtaining the surface body count from the SheetMetalComponentDefinition.

SheetMetalComponentDefinition scd = (SheetMetalComponentDefinition)partDocument.ComponentDefinition;
    var bCount = scd.SurfaceBodies.Count;

When we run it locally using the locally installed inventor instance:

InventorServer server = inv.GetInventorServer();

We get a valid surface count. When we run it via APS:

 public void Activate(ApplicationAddInSite addInSiteObject, bool firstTime)
 {
     Trace.TraceInformation(": UpdateIPTParam (" + Assembly.GetExecutingAssembly().GetName().Version.ToString(4) + "): initializing... ");

     // Initialize AddIn members.
     _inventorServer = addInSiteObject.InventorServer;
     Automation = new SampleAutomation(_inventorServer);
 }

The surface count is ZERO?

Any ideas would be appreciated. Sample creo file available: Sample Creo File

Thanks

5
  • There is an issue logged against DA4I and Creo files. Could you please provide the file so we can have a look if it's the same issue with this one? Commented Jun 10 at 9:56
  • Hi @AdamNagy, I added a link to the file in the original post. Please let me know if you need more information. Commented Jun 11 at 23:12
  • Yes, it seems to be the same issue. Unfortunately, I'm not sure when this will be fixed. You can use this ID to ask for an update later on: INVGEN-40819 Commented Jun 16 at 9:19
  • Thanks @AdamNagy. Is there any where I can track it's progress. I need to set expectations for my clients. Commented Jun 25 at 0:00
  • You can contact us here aps.autodesk.com/get-help and provide the ID. Perhaps you could also provide there a business case (how important, urgent, this issue is) As things stand at the moment I don't think anything will happen this year. Commented Jun 25 at 19:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.