3D Framework
Overview
Framework Customer Story
CIMdata e-Book
MBD Utilities
Validate
Revision
View/Convert
Customer Stories
CAD Data Risks Whitepaper
Focus: Aerospace
KeyCreator CAD
Meet KeyCreator
What Is Direct Modeling
KeyCreator Reviews
KeyCreator Customer Stories
Focus: Drafting
Schools & Students
CKD Viewer
About
Company
International Resellers
All Customer Stories
Referral Program
Partners
News
Blog
Contact
Store
Revision/Validate
View/Convert
KeyCreator CAD
Shopping Cart
Support
Login
Software
Users
Submit Request
Remote Assist
Forum
Kubotek University
Help
Kubotek Forum
KeyCreator CAD & CKD Viewer
Technical discussion of CAD/CAM and integrated partner products
Subscribe to post
Soli
-
(1/10/2021 6:05:25 PM)
Record a macro when a new fastener is created
I recorder a macro when I create a fastener.
I found these functions.
For a bolt:
BOLT "HEXSCREW", dDPScale, anDPValues, adShaftValues, anShaftValues, anShaftThreadAttr, 3 , adBoltValues, anDPAttrib, 9
For a socket screw:
SOCKETSCREW "SOCKET", dDPScale, anDPValues, adShaftValues, anShaftValues, anShaftThreadAttr, 4 , adScrewValues, anDPAttrib, 9
For a nut:
NUT "HEX", dDPScale, anDPValues, adNutValues, anNutValues, anNutThreadAttr, anDPAttrib, $FastenerType, $PartNum,,, 9
For a washer:
WASHER "PLAIN", dDPScale, anDPValues, adWasherValues, anWasherValues, anDPAttrib, $FastenerType, $PartNum, 9
For a dowel pin:
PIN dDPScale, anDPValues, adPinValues, anPinValues, anDPAttrib, $FastenerType, $PartNum, 9
Why the commands for nut, washer and dowel pin contain the strings
$FastenerType and $PartNum but the commands for screws doesn't contain
those strings.
$FastenerType and $PartNum are neccesary to later apply the function "GetFastenerData" to add entity name for fasteners and create BOM.
The second question is, if it is possible to get the parameters of one fastener in order to create o new one with the same size but a different length.
Thanks for any help.
E-mail:
Given e-mail is not valid
Please enter an e-mail. E-mail is required.
Login