- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
csdk method to query layers in a part
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-25-2010 11:21 AM
is there a method in csdk to query the layers of a part...
Ed Paff (1.513.576.3836)
ITI TranscenData
5303 Dupont Circle
Milford, Ohio 45150
United States of America !!!!!!!
Re: csdk method to query layers in a part
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-25-2010 08:21 PM
Hi,
Yes we have interface for querying layers of a part. Please check following interface in SPAXAttributeExporter.h.
/**
* Get the Layer of an entity
* @param iEntity The entity which is to be queried by the exporting component
* @param oLayer The returned layer number between 0-255
* @return SPAX_S_OK when a layer is returned ; SPAX_E_ERROR otherwise.
*/
virtual SPAXResult GetLayer( const SPAXIdentifier& iEntity, int& oLayer ) = 0;
//------------------------------------------------
Thanks
InterOp Developer
Re: csdk method to query layers in a part
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-26-2010 05:02 AM
thanks for the response, but i already know about that method. what i'm looking for is a method to return all the layers used in a model before i actually process the data in the model. is there anything like this available....
Ed Paff (1.513.576.3836)
ITI TranscenData
5303 Dupont Circle
Milford, Ohio 45150
United States of America !!!!!!!
Re: csdk method to query layers in a part
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-26-2010 05:14 AM
Hi,
There is no way you can get all the layers before processing the data in the model. I am not sure what your workfolw is, can you please explain? May be I have a workaround for your problem.
Thanks
InterOp Developer
Re: csdk method to query layers in a part
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-26-2010 06:05 AM
here is more information from our product manager on the issue...
from the InterOp docs this filter option (ApplyLayerFilter) can be set to ALL or LAYCUR or any string that matches a user defined layer filter that exists in the V4 model.
is there any CSDK code that allows you to query what user defined layer filters exist in a V4 model?
Ed Paff (1.513.576.3836)
ITI TranscenData
5303 Dupont Circle
Milford, Ohio 45150
United States of America !!!!!!!

