Adding a user defined property in a post.

Adding a user defined property in a post.

kltdave
Enthusiast Enthusiast
1,452 Views
4 Replies
Message 1 of 5

Adding a user defined property in a post.

kltdave
Enthusiast
Enthusiast

I'm trying to add some functionality to a post for one of our mills. I need the option to put a safe tool change position in. So I fount this thread https://forums.autodesk.com/t5/machining-discussions/move-over-before-tool-change/td-p/6078539 showing one method for this. But for some reason I can't get the post to work after I add the User defined properties. When I add them I get the blank properties box when trying to post. Can anyone tell me what I'm doing wrong? 

Post Attached

Thanks

 

0 Likes
Accepted solutions (1)
1,453 Views
4 Replies
Replies (4)
Message 2 of 5

GeorgeRoberts
Autodesk
Autodesk

Hello,

 

Thanks for posting! It looks like you have added the output line which calls the properties, but have not actually defined the property.

 

To define the property, you need to include the value in the properties object at the top of the post like this:

properties = {
  writeMachine: true, // write machine
  writeTools: true, // writes the tools
  preloadTool: true, // preloads next tool on tool change if any
  showSequenceNumbers: true, // show sequence numbers
  sequenceNumberStart: 10, // first sequence number!
  sequenceNumberIncrement: 5, // increment for sequence numbers
  optionalStop: true, // optional stop
  isnc: true, // specifies the mode ISNC (ISO NC mode) or BNC (Basic NC mode)
  separateWordsWithSpace: true, // specifies that the words should be separated with a white space
  allow3DArcs: false, // specifies that 3D circular arcs are allowed
  useLinearInterpolation: false, // specifies that linear tool vector interpolation should be used
  useParametricFeed: false, // specifies that feed should be output using Q values
  showNotes: false, // specifies that operation notes should be output.
  xHome: 0,
  yHome: 0,
  zHome: 0
};

You can then change the values (currently set to 0) to be your safe home position

 

Hope this helps!

-

George Roberts

Manufacturing Product manager
If you'd like to provide feedback and discuss how you would like things to be in the future, Email Me and we can arrange a virtual meeting!
0 Likes
Message 3 of 5

kltdave
Enthusiast
Enthusiast

Sorry, I had changed that post so many times I attached the one that I deleted them. Here It is again with those properties defined. When I open the post dialog in Fusion to post the part the properties box is blank. 

Thanks

0 Likes
Message 4 of 5

LibertyMachine
Mentor
Mentor
Accepted solution

You're missing the comma after:

showNotes: false

 

2018-03-29_05h57_50.png

 


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
Message 5 of 5

kltdave
Enthusiast
Enthusiast

Yep, figured I missed something. thank you!

-Dave

0 Likes