AutoCAD Map 3D Forum
Welcome to Autodesk’s AutoCAD Map 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDF calculations

3 REPLIES 3
Reply
Message 1 of 4
A_Bell
307 Views, 3 Replies

SDF calculations

How do a create a calculation for an SDF contour file that changes the false or true to 0 and 1? I have been trying and I can't seem to get the correct combination. Also I don't get the full set of actions on the top of the dialog box. Functions like: =, LIKE, and others don't show up. I know this is something simple, but I'm not getting it.

Any help is appreciated.
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: A_Bell

The IsMajor is a Boolean type and I don't see any easy way to convert it to
string to use the "like" or an inter for =. But if you use the Elevation
property you can use this expression.
Abs ( Sign ( Remainder ( Elevation, 50 ) ) ) where the 50 in this is
the major contour elevation, replace it with what yours is set at. False
will be 1, True will be 0.
Note: I only tested it on one contour file.

--

Murph
http://map3d.wordpress.com/


"A_Bell" wrote in message news:6295185@discussion.autodesk.com...
How do a create a calculation for an SDF contour file that changes the false
or true to 0 and 1? I have been trying and I can't seem to get the correct
combination. Also I don't get the full set of actions on the top of the
dialog box. Functions like: =, LIKE, and others don't show up. I know
this is something simple, but I'm not getting it.

Any help is appreciated.
Message 3 of 4
A_Bell
in reply to: A_Bell

Murph,

Thanks a lot and you're right I'm not the A Bell you must know. It must be a small user name world : )

I was so focused on the IsMajor I didn't think to use another property. It worked perfectly.

Net
Message 4 of 4
Anonymous
in reply to: A_Bell

YW, it took me a good nights sleep to come up with that expression. Happy
Turkey Day.

--

Murph
http://map3d.wordpress.com/


"A_Bell" wrote in message news:6295253@discussion.autodesk.com...
Murph,

Thanks a lot and you're right I'm not the A Bell you must know. It must be
a small user name world : )

I was so focused on the IsMajor I didn't think to use another property. It
worked perfectly.

Net

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost