We are aware of an issue causing pages to load incorrectly for some users and expect a fix soon. Sorry for the inconvenience.
Thank you Mark! It works perfectly.
Hi Mark,
Can you please let me know if you do have any sample code to retrieve the latest drawing for a CAD Part or some sample API Regarding the same.
Thanks in advance.
Best Regards,
Aditya
Here is an exampleAPI to get Models (.prt /.asm) from drawing. You can trytweaking this code and check the reverse can be done.
List<epmdocument> models = new ArrayList<epmdocument>();
spec.appendClassList(EPMReferenceLink.class, false);
while (refIterations.hasMoreElements()) {
EPMDocument doc = (EPMDocument) perData[1];
models.add(doc);
}
}
ConfigSpec cSpec = null;
EPMAsStoredConfig asStoredcSpec = (EPMAsStoredConfig) asStoredConfigReference.getObject();
cSpec = EPMAsStoredConfigSpec.newEPMAsStoredConfigSpec(asStoredcSpec);
return null;
return null;
return cSpec;
Thanks
