Autodesk Inventor
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*peebles, scott
"rounddown " command?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
103 Views, 3 Replies
11-04-2002 12:18 AM
Is there a command for "rounding down" numbers when working with parameter
equations???
For example, I want to use this equation to determine the number of mounting
holes in a variable length part: # holes = ((overall length - (dist from
end x 2)) / rough hole spacing) rounded down
I will then take this "rounded down" number and use it to determine the
spacing between holes: hole spacing = (overall length - (dist from end x
2)) / (# holes - 1)
I know this can be done by linking to an excel file but I thought there
should be a way to accomplish these equations in IV without having to link
to an excel file.
Is there a better way to accomplish this???
Thanks
Scott
equations???
For example, I want to use this equation to determine the number of mounting
holes in a variable length part: # holes = ((overall length - (dist from
end x 2)) / rough hole spacing) rounded down
I will then take this "rounded down" number and use it to determine the
spacing between holes: hole spacing = (overall length - (dist from end x
2)) / (# holes - 1)
I know this can be done by linking to an excel file but I thought there
should be a way to accomplish these equations in IV without having to link
to an excel file.
Is there a better way to accomplish this???
Thanks
Scott
*KJohnson
Re: "rounddown " command?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-04-2002 12:39 AM in reply to:
*peebles, scott
try the function ceil. Look on www.sdotson.com for a pdf explaining all the
functions in inventor.
Kathy Johnson
"scott peebles" wrote in message
news:2AEA312D12675C6C0EF00007BA6D56C7@in.WebX.maYI adrTaRb...
> Is there a command for "rounding down" numbers when working with parameter
> equations???
>
> For example, I want to use this equation to determine the number of
mounting
> holes in a variable length part: # holes = ((overall length - (dist from
> end x 2)) / rough hole spacing) rounded down
>
>
>
> I will then take this "rounded down" number and use it to determine the
> spacing between holes: hole spacing = (overall length - (dist from end x
> 2)) / (# holes - 1)
>
> I know this can be done by linking to an excel file but I thought there
> should be a way to accomplish these equations in IV without having to link
> to an excel file.
>
> Is there a better way to accomplish this???
>
> Thanks
> Scott
>
>
functions in inventor.
Kathy Johnson
"scott peebles"
news:2AEA312D12675C6C0EF00007BA6D56C7@in.WebX.maYI
> Is there a command for "rounding down" numbers when working with parameter
> equations???
>
> For example, I want to use this equation to determine the number of
mounting
> holes in a variable length part: # holes = ((overall length - (dist from
> end x 2)) / rough hole spacing) rounded down
>
>
>
> I will then take this "rounded down" number and use it to determine the
> spacing between holes: hole spacing = (overall length - (dist from end x
> 2)) / (# holes - 1)
>
> I know this can be done by linking to an excel file but I thought there
> should be a way to accomplish these equations in IV without having to link
> to an excel file.
>
> Is there a better way to accomplish this???
>
> Thanks
> Scott
>
>
*Keller, Kent
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-04-2002 12:45 AM in reply to:
*peebles, scott
Actually wouldn't it be floor that he wants.. .. unless I am reading it wrong.
--
Kent
Member of the Autodesk Discussion Forum Moderator Program
"KJohnson" wrote in message
news:9D857514D2FD8B307FBC5494D0D33162@in.WebX.maYI adrTaRb...
> try the function ceil. Look on www.sdotson.com for a pdf explaining all the
> functions in inventor.
>
--
Kent
Member of the Autodesk Discussion Forum Moderator Program
"KJohnson"
news:9D857514D2FD8B307FBC5494D0D33162@in.WebX.maYI
> try the function ceil. Look on www.sdotson.com for a pdf explaining all the
> functions in inventor.
>
*KJohnson
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-04-2002 12:47 AM in reply to:
*peebles, scott
Yes you are correct. You also must have the function in the brackets as
coming out as unitless. Then multiply the floor()*1in or whatever.
Kathy Johnson
"Kent Keller" wrote in message
news:44F056DFC94CFA390842A91D91E41C56@in.WebX.maYI adrTaRb...
> Actually wouldn't it be floor that he wants.. .. unless I am reading it
wrong.
>
> --
> Kent
> Member of the Autodesk Discussion Forum Moderator Program
>
>
> "KJohnson" wrote in message
> news:9D857514D2FD8B307FBC5494D0D33162@in.WebX.maYI adrTaRb...
> > try the function ceil. Look on www.sdotson.com for a pdf explaining all
the
> > functions in inventor.
> >
>
>
coming out as unitless. Then multiply the floor()*1in or whatever.
Kathy Johnson
"Kent Keller"
news:44F056DFC94CFA390842A91D91E41C56@in.WebX.maYI
> Actually wouldn't it be floor that he wants.. .. unless I am reading it
wrong.
>
> --
> Kent
> Member of the Autodesk Discussion Forum Moderator Program
>
>
> "KJohnson"
> news:9D857514D2FD8B307FBC5494D0D33162@in.WebX.maYI
> > try the function ceil. Look on www.sdotson.com for a pdf explaining all
the
> > functions in inventor.
> >
>
>
