Author Topic: Updating Items  (Read 2439 times)

0 Members and 1 Guest are viewing this topic.

Offline XtopherTopic starter

  • Full Member
  • ***
  • Posts: 89
  • Country: au
  • Gender: Male
Updating Items
« on: Jan 28, 2014, 08:15:55 AM »
I have created a whole lot of ancillary items and updated price lists. Is there an easy way I can update an existing file so that the Items will incorporate these changes? I have already tried "updatefromsource" in cad with no results.

Offline cnash

  • Premier Member
  • *****
  • Posts: 1435
  • Country: us
  • Gender: Male
    • William R. Nash Companies
Re: Updating Items
« Reply #1 on: Jan 28, 2014, 16:15:31 PM »
I'm not exactly sure what you are trying to do.
Are you just trying to update the pricing on the ancillaries already applied to items?
Or are you trying to change what ancillaries are applied to certain items?
Christopher Nash
Operations Software & Process Manager
William R. Nash, LLC.

Offline XtopherTopic starter

  • Full Member
  • ***
  • Posts: 89
  • Country: au
  • Gender: Male
Re: Updating Items
« Reply #2 on: Jan 28, 2014, 19:25:41 PM »
the ancillaries have been applied to the items in the folders and are not attached to the items in the existing file. Additionally, I have created new price lists and attached them to the items in the folders, but not the items in the existing files/drawing.

Offline cnash

  • Premier Member
  • *****
  • Posts: 1435
  • Country: us
  • Gender: Male
    • William R. Nash Companies
Re: Updating Items
« Reply #3 on: Jan 29, 2014, 11:55:00 AM »
the ancillaries have been applied to the items in the folders and are not attached to the items in the existing file. Additionally, I have created new price lists and attached them to the items in the folders, but not the items in the existing files/drawing.

That's odd, once you apply the ancillaries to an item it should apply to that same item in the file. Sometimes you might need to exit and reopen the file but it refreshes based on the databased item (The only time this does not happen is if you are working on an archived file in ESTmep specifically).
Christopher Nash
Operations Software & Process Manager
William R. Nash, LLC.

Offline Darren Young

  • Premier Member
  • *****
  • Posts: 2112
  • Country: us
  • Gender: Male
    • BIM There Done That.
Re: Updating Items
« Reply #4 on: Jan 29, 2014, 19:32:30 PM »
You sure about that Christopher?  I would need to try it but applying the ancillary to the ITM in the folder doesn't seem like it's any different from any other property (seams, connectors, materials) which would NOT apply to any ITM's that are already taken off in an MAJ or DWG.

If the ancillary was already there but changed, I would expect the changes to flow through.

Shouldn't be too hard to write a script to update DWG ITM's to the same properties as folder ITMs.

I've done this before for other settings/properties via script although I can't seem to find my copy for an example at the moment.

Offline cnash

  • Premier Member
  • *****
  • Posts: 1435
  • Country: us
  • Gender: Male
    • William R. Nash Companies
Re: Updating Items
« Reply #5 on: Jan 29, 2014, 19:37:23 PM »
You sure about that Christopher?  I would need to try it but applying the ancillary to the ITM in the folder doesn't seem like it's any different from any other property (seams, connectors, materials) which would NOT apply to any ITM's that are already taken off in an MAJ or DWG.

If the ancillary was already there but changed, I would expect the changes to flow through.

Shouldn't be too hard to write a script to update DWG ITM's to the same properties as folder ITMs.

I've done this before for other settings/properties via script although I can't seem to find my copy for an example at the moment.

Honestly, I'm not 100% positive if you were to add or delete an ancillary.
Usually when we change stuff we have it in designline and unfill and refill. When stuff is in attacher mode we usually just modify it beforehand.
I'm not sure if "regenall" would affect the items or not, but it's worth a shot.

Now if the item ALREADY has the ancillaries applied and you have just updated the PRICING and/or LABOR then reopening the drawing should update everything to current.
Christopher Nash
Operations Software & Process Manager
William R. Nash, LLC.

Offline Darren Young

  • Premier Member
  • *****
  • Posts: 2112
  • Country: us
  • Gender: Male
    • BIM There Done That.
Re: Updating Items
« Reply #6 on: Jan 29, 2014, 19:39:18 PM »
...found it.

Attached is a script that when on selected ITM's in your takeoff, should find that ITM's path in your library and  read the "ItemBoughtOut" setting. It then applies the setting from the ITM in your library to the ITM in your takeoff.

Should be able to easily modify this to do the ancillaries (provided you know scripting).

Offline XtopherTopic starter

  • Full Member
  • ***
  • Posts: 89
  • Country: au
  • Gender: Male
Re: Updating Items
« Reply #7 on: Jan 31, 2014, 20:28:43 PM »
@ Dyoungsi,
Thanks for the script.
 I am not to experienced at scripting so l will have to get my head around it. Ill post to let you know how I get on.