Please find the attachment for that type of note
Please find the attachment for that type of note
Chandrashekar,
Welcome to the forum
I think you may have to run a simple macro to get a custom property and link that value in the drawing to have both these values
These discussions may help you:
https://forum.solidworks.com/message/209597#209597
Welcome to SolidWorks forums Chandrashekar .
Create an equation and use that. Check this post: Display Mass in Dual Units in SolidWorks
You might also find this post helpful for your future reference
Even then i am getting the same error. I think its not in SW 2008. Can i know from which Version it starts.
Sorry I don't have lower versions to cross check it but you can use a design table and apply the formula there to get the required results.
I'll see if I can get an example/tutorial for lower version OR can you open file from SW2011 or SW2012 version.
no i can't open any future version files. sorry for late reply . can u assist me to apply the same using design table or provide me a link of the discussion.
I don't think SW 2008 can directly access document properties in equations. This capability was added in 09 or 10, I forget which.
You can obtain the mass using the line:
part.extension.createmassproperty.mass
This will retrieve the mass, always in system units (kg) regardless of the unit settings of the document. You can easily convert from there. for example, the equation to get pound mass would be:
"PoundsMass"= part.extension.createmassproperty.mass * 2.20462262
I think 2008 has the capability to link a custom property to the value of the return of an equation.
Chandrashekar,
Welcome to the forum
I think you may have to run a simple macro to get a custom property and link that value in the drawing to have both these values
These discussions may help you:
https://forum.solidworks.com/message/209597#209597
https://forum.solidworks.com/message/228912#228912