Kubotek Forum

KeyCreator CAD & CKD Viewer Technical discussion of CAD/CAM and integrated partner products
Customer Forum > KeyCreator CAD & CKD Viewer > KXL Help View modes: 
User avatar
Advanced member
Advanced member
Hans_Winkler - 2/7/2018 8:31:29 AM
   
RE:KXL Help
Hankwt,
you start by reading the KXL help file. All you need is a text editor, like notepad to write the code. You will have to familiarize yourself with the function calls that the KXL language offers. Start small, like most programming languages e.g.

Pause "Hello World"

Paste the above line into a text file, then save as hello.kxl. Now execute like you would a macro, and it will say Hello World!

I'm willing to help you, and there are others as well that will help, if you want to write KXL code.

Hans


User avatar
Advanced member
Advanced member
Dana - 2/8/2018 2:48:48 PM
   
RE:KXL Help
Hankwt wrote: Im new to this world of KXL    I have recorded macros and bound them to hot keys  ...........  however how does one enter this type of written macro ??


What Hans said... and when you have a specific question, best to start a new topic rather than piggybacking on the back of an old question where it will get lost.

Also look at other people's code, both things posted online or the examples in the KXL helpfile. That will give you a sense of how things are done.


User avatar
Valued member
Valued member
ken.lemay@yarema.com - 2/16/2018 8:57:54 AM
   
RE:KXL Help
Thanks Hans
Works great enough for me to do my rough stock list sizes. I really appreciate the help.
Thanks
Ken
Ken Lemay
Yarema Die and Engineering
Troy, Mi

User avatar
Member
Member
rbjornson@arnoldtool.com - 7/9/2018 7:11:35 AM
   
RE:KXL Help
I'm working on an automated bill of materials, and I came across your macro.

I was wondering if you had a way to make it work off a selected solid instead of all displayed entities? Seems if there are other entities present, even if they ar not solids, it uses the extents of whatever is on the screen.

I'm looking to calculate the sizes as you are currently with the macro, but by pick, and then writing those proerties to a user property I can access later on the automated BOM.
(I have everything working so far except automating the size from the solid to the user property)

Thank you for your time, have a great day!

User avatar
Valued member
Valued member
ken.lemay@yarema.com - 2/19/2019 10:21:20 AM
   
RE:KXL Help
This seems to be fixed in 2019 SP2
Ken
Ken Lemay
Yarema Die and Engineering
Troy, Mi

1 2
Login