Author Topic: updata dependces  (Read 1784 times)

hi all,
i have the question, i try to use API get the .sbs dependences path and success, but i haven't find set the depeneces path API.
So can i set depeneces path by API?

Cheers,
Sum

hi all,
i use sbsDoc.getDependencyPathList() get my .sbs all dependency path, but i can't find the API seem as setDependencyPath.
Any idea for me?

Cheers,
Sum

Hi Sum.

I'm trying to understand what you are trying to accomplish here.
Are you trying to change the path to a node referenced in your substance file?

David

Hi Daived,

Yes, i trying to change the path to a node referenced in my substance file.can i do this?

Sum

The foolproof way of doing it would be to delete the node and re-reference it from its source.
You might be able to hack it by trying to change the dependency path by start digging in the internal data structures but there might be unpredictable consequences of it.