Revvity / ChemDraw-AddIns

Public repository for ChemDraw Add-ins
BSD 3-Clause "New" or "Revised" License
21 stars 7 forks source link

has no the function : ChemDrawAPI.activeDocument.setCDXML() #34

Open xiaoping1993 opened 11 months ago

xiaoping1993 commented 11 months ago

I want to modify chemdraw activieDocument's cdxml context,but just has the function addCDXML,no setCDXML,I found that the function addCDXML can not work out the way I want, it can only modify the cdxml by adding new content ,but can not effect when remove some content on the cdxml content

https://github.com/PerkinElmer/ChemDraw-AddIns/assets/29544914/2c5cb784-a0a7-460d-9eab-d4dbb4b0fafe

stevebaxter commented 11 months ago

So I think what you want to do is to remove the current document content and replace it with new content? Is that correct? Unfortunately there isn't currently a way to remove or replace content in a document from the add-in API.

I've raised a story internally for consideration by our product management team, however I can't say if or when this feature might be added.