Community
PowerMill Forum
Welcome to Autodesk’s PowerMill Forums. Share your knowledge, ask questions, and explore popular PowerMill topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating the Powermill.dll file

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Andrewharlow2
704 Views, 3 Replies

Creating the Powermill.dll file

Hi,

I was trying to create a plugin and have been trying on and off. everytime i try to create the powermill.dll file i have issues. is there an updated version as to how to create the powermill dll file for plugins? or even a more specific manual for creating plugins? i want to use plugins with the api so it works with the open instance of more than one powermill. it creates the strong name but wont read the pmill.exe file. i also notice under the a7.0 folder that it doesn't have the tlbimp.exe file at the end under x64

Thanks

3 REPLIES 3
Message 2 of 4
Sean570
in reply to: Andrewharlow2

Attached are the two guides that I have but they are a bit older. Each one explains how to create the dll a little bit differently, so maybe it'll help?

Once I'm in the pmill.exe folder (in the command prompt) I enter this (change anything that says 19.0.10 to whatever powermill version you have. Also make sure that your microsoft SDK folder is set correctly, it may not be what I have.):

SET PATH=%PATH%;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64


sn.exe -k key_pair.snk


tlbimp.exe pmill.exe /keyfile:key_pair.snk /asmversion:19.0.10

I believe that is all I had to do, it's been a little while since I've had to create the dll, but I hope that'll help.

Message 3 of 4
Andrewharlow2
in reply to: Sean570

Where are you getting the amsversion number from?? I've tried a few different ways of going about that. One being in the "about"  of a powermill session. I also noticed in the properties of the powermill icon. I've also noticed one in the directory that the pmill.exe file is in.

Message 4 of 4
Sean570
in reply to: Andrewharlow2

Your powermill version should be on the about page. I believe if you have the newest version of powermill it would be 2021.0.1  If there are any numbers after that then I believe you should ignore it. on my about page it actually shows Version 19.0.10.64.1182248 but only the first three numbers matter. So long as this has not changed since 2015 it should work.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report