Inventor Customization

Reply
Contributor
24 Posts
0 Kudos
Registered: ‎01-01-2013
Post 1 of 4

ILogic

288 Views, 3 Replies
01-01-2013 09:59 AM

Does anyone have a good example of ILogic in creating stairs? We generate many different widths, lengths and heights? Been trying to utalize iLogic to make all the different types more easy to create from the start. Have set angle of stringers and certain widths of treads but cannot figure out my rules on the number of treads needed per the length of my always changing stringer lengths. Stumped on how to take a cedrtain length (parameter) and divide it up equally. Top tread flush with top of horz stringer and with bottom tread having a minimum and or maximum height the from floor.

Anyone have something similar? 

ADN Support Specialist
1,352 Posts
81 Kudos
Registered: ‎06-12-2011
Post 2 of 4

Re: ILogic

01-08-2013 06:43 PM in reply to: heyjude19

Hi,

 

do you need a solution, or hit some problems with your codes?

 

I do not know if anybody here has something similar to what you need. I'd like to share a link on ETO which you may be interested in.

 

http://etosamples.autodesk.com/Staircase

 

 



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Contributor
24 Posts
0 Kudos
Registered: ‎01-01-2013
Post 3 of 4

Re: ILogic

01-09-2013 04:16 AM in reply to: heyjude19

Thanks for that sample. Ya I am having problems with my code. More or less stuck on trying to divide a certain length/height (parameter) in equal sections and then that will become my rise. But want the rise to stay between 7.5" -9" or step height, if not add another step or end if.

 

Would you happen to have a sample of a straight run stairs, so I can break down the code?

ADN Support Specialist
1,352 Posts
81 Kudos
Registered: ‎06-12-2011
Post 4 of 4

Re: ILogic

01-13-2013 06:59 PM in reply to: heyjude19

Sorry, I have not such sample code. It is really much specific. What I can suggest is: if you hit any problems with your own code, you could isolate and share a copy here. Thus the peers here could help to diagnose. 



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!