| Re: Defining columntype while appending columns [message #2133 is a reply to message #2132] | 
			Mon, 19 February 2024 10:58    | 
		 
		
			
				
				
				
					
						  
						helloWorld22
						 Messages: 13 Registered: June 2022 
						
					 | 
					Junior Member  | 
					 | 
		 
		 
	 | 
 
	
		Hi Norwid, 
The requirement is to add columns containing structures and my plugin retrieves the structures(SMILES or Mol File) from our internal database. 
I can now append the column as a text as smiles. But I cant convert them as a structure. Unless I convert them as a structure column, I wont be able to do structure search on the existing data. 
 
I tried : dwInterface.setColumnType and added IPluginHelper.COLUMN_TYPE_STRUCTURE_FROM_SMILES. But this doesnot work while appending column. 
 
Is it possible to append column via SDK as structure and not text? I can also retrieve mol files, instead of SMILES, from DB, if that helps. 
 
Thanks
		
		
		[Updated on: Mon, 19 February 2024 21:51] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |