ACADuser

Wall Schedule Question

Recommended Posts

My units are in inches for the plan work but the Wall Schedule also displays in inches for the lengths.

I changed the DBX using the NUMBER STYLE button in the DBX bit that length did not update to Feet & inches.

So do users have any control of the number format in the schedules?

 

Share this post


Link to post
Share on other sites

Yes and No. Read the first sentence of the number style dbx. It doesn't do what you'd assume it does:angry:

I believe you need a macro to control the dimension display in schedules.

Share this post


Link to post
Share on other sites

That's too bad.

 

I did not see a way to insert custom fields in that schedule so a macro would not be possible?

 

Share this post


Link to post
Share on other sites
18 minutes ago, ACADuser said:

That's too bad.

 

I did not see a way to insert custom fields in that schedule so a macro would not be possible?

 

 

You don't insert custom fields in the schedule.  You insert them in the wall.  You only display those columns in the schedule.

Share this post


Link to post
Share on other sites

OK, thanks for the clarification.

 

I was able to add this:

begin
	wlength = (owner.length / 12.0).round(2)
	wlength.to_s
	rescue
	"Error"
	end

 

But it displays as "10.2 in" and needs to be feet.

What causes the "in" to display at all?

 

CA Wall Len.JPG

Share this post


Link to post
Share on other sites
8 minutes ago, ACADuser said:

OK, thanks for the clarification.

 

I was able to add this:


begin
	wlength = (owner.length / 12.0).round(2)
	wlength.to_s
	rescue
	"Error"
	end

 

But it displays as "10.2 in" and needs to be feet.

What causes the "in" to display at all?

 

CA Wall Len.JPG

 

It's because length is a Measurement.  Either convert it to a float first with something like length.to_f or use the Measurement class to your advantage with something like length.to_ft

Share this post


Link to post
Share on other sites

Great, Thanks

And the .to_ft does the division for you!

 

 

begin
     wlength = owner.length.to_ft.round(2)
     wlength.to_s
rescue
  "Error"
end

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Member Statistics

    27860
    Total Members
    6254
    Most Online
    Emileen
    Newest Member
    Emileen
    Joined